meashishsaini / tmpmail-python

Create and view temporary mailbox using 1secmail API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmpmail

Create and view temporary mailbox using 1secmail API.

Requirements

  • python >= 3.6
  • requests
  • html2text
  • rich
  • appdirs

Installation

  1. Install using pip install git+https://github.com/meashishsaini/tmpmail-python

Usage

tmpmail [-h] [-g [USERNAME]] [-r] [-t] [-b [BROWSER]]
               [-d {1secmail.com,1secmail.org,1secmail.net,wwjmp.com,esiix.com}]
               [id]

positional arguments:
  id                    id of the email received

optional arguments:
  -h, --help            show this help message and exit
  -g [USERNAME], --generate [USERNAME]
                        generate new username or use given.
  -r, --recent          view most recent email.
  -t, --text            view email as pure text.
  -b [BROWSER], --browser [BROWSER]
                        open email in given browser.
  -d {1secmail.com,1secmail.org,1secmail.net,wwjmp.com,esiix.com}, --domain {1secmail.com,1secmail.org,1secmail.net,wwjmp.com,esiix.com}
                        set a custom domain supported by 1secmail.

Credits

The python version is inspired by Siddharth Dushantha's tmpmail script.

About

Create and view temporary mailbox using 1secmail API.

License:MIT License


Languages

Language:Python 100.0%