This article covers method to Setup and Configure tmpmail.
Basically, tmpmail is a handy utility for CLI warriors within the command line.
By default, email addresses are created at random unless a specific email address follows the --generate flag.
Currently, w3m renders the emails in an HTML format within the terminal. If preferred, a user can use a GUI or text-based browser to view the email by passing the --browser flag followed by the command needed to launch the web browser of your choice.
TEMP-MAIL does not store your IP-address. This means you are reliably protected from all unauthorized actions that may endanger your information and compromise your privacy. All emails and data temporarily stored on our service are permanently deleted after the time expired.
How to install tmpmail ?
1. To install tmpmail, we can use the wget command or curl command to download the script from GitHub.
Next, open a terminal and then copy or type in the following command:
# wget https://raw.githubusercontent.com/sdushantha/tmpmail/master/tmpmail
2. Now, run the chmod command against the script to modify the permissions, so the file is executable.
[root@host2 ~]# chmod -v +x tmpmail
3. Next, we will move the file to a location somewhere in our $PATH. Use the following command to accomplish this.
# mv tmpmail /bin/
# which tmpmail
To Generate a New tmpmail Address:
To create a new temporary email address, run the following command.
# tmpmail --generate