Table of Contents
This tip is about the how to Generate Temporary Email Addresses Using the Linux Terminal. So read this free guide, How to Generate Temporary Email Addresses Using the Linux Terminal step by step. If you have query related to same article you may contact us.
How to Generate Temporary Email Addresses Using the Linux Terminal – Guide
You no longer need to deal with spam emails, not on Linux. Here it is how to generate temporary email addresses using the Linux command line.
Email inboxes are like your digital mailbox for receiving important messages. Many sites require you to subscribe up with your email before fully accessing your services or products.
However, providing your personal or business email address to shady websites can lead to a cluttered inbox full of unwanted newsletters, spam and possible data breaches. To avoid this, you might be inclined to use a temporary email service.
Find out How to do just that on the Linux terminal.
Install the tmpmail command line tool
Tmpmail is a command line tool that uses the 1secMAIL API to create a disposable email address and receive emails from it. The email address generated from this service is automatically self-destructed after some time to maintain your anonymity.
To install this tool on your Linux machine, open the terminal emulator of your choice and run the following command:
curl -L “https://git.io/tmpmail”> tmpmail
The command given above works on all Linux distributions. However, if you are using Arch Linux or its derivatives, you can choose to install the package through the Arch User Repository. See How to do this using yay:
yay -S tmpmail-git
To confirm that the installation was successful, run the following command and verify that the script is working:
./tmpmail –help
Generating email addresses and receiving emails
To generate a random email address using your terminal, run this command:
./tmpmail –generate
The output will provide a temporary email address that you can use.
You can view all emails received at the last generated temporary email address with this command:
./tmpmail
This will display all emails along with their ID, sender and subject. To view a specific email address, you can use the command given below:
./tmpmail
If you want to view the most recent email you received, use the -r flag like this:
./tmpmail -r
Please share this article if you like it!
Final note
I hope you like the guide How to Generate Temporary Email Addresses Using the Linux Terminal. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.