Skip to content

meashishsaini/tmpmail-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages