Now we need to move this tempomail file to /usr/local/bin where the software installed locally by using following command:
Now we have installed tempomail successfully. We can check it via running following command from anywhere in terminal:
Here in the following screenshot we can see that our emails will locally saved on /tmp/1secmails/ by default. We can change it by using -path string.
Now we can set our custom mail by using tempomail. To do this we run tempomail command in our terminal:
After this we got a mail id with this name. Shown in the following screenshot:
Now if anyone send mails on this email id we got the mail. Yoo, We got an e-mail. After we got a mail in our inbox it shows like following:
To open our mailbox we need to open another terminal window and type following command:
The above command shows a mail in the directory.
Now we can see what's inside the mail using cat (or any text viewer or editor tool). We run the following command to see the mail.
This is how we can receive an e-mail on our custom temporary mail id running on command line. We found this good at bypass the e-mail verification during penetration testing and avoid spam or unwanted mails on our original mail id.
This is how we can create our custom disposable e-mail address directly from our terminal.
Love our articles make sure to follow us on articles on Twitter and GitHub. We publish updates of articles there.
For any problem or suggestion comment down in the comment section. We read comments and always reply.