How to send emails from the console in Windows and Linux
You must be wondering why anyone will want to do that… But there can be times when you are unable to log in to your webmail account and you are in dire need of sending this very important albeit non-confidential mail. This is when telnet can save your day. You can use a simple telnet program which is ubiquitously found in almost all OSes worth their name.
Schiralli explains on his blog how he sends emails using telnet. He writes …
In order to access your mailbox you will need 3 things:
- An active Internet connection (an embarrassing stage to miss sometimes!)
- The address of a mail server capable of relaying the message for you – usually provided by your dial up provider (Eg : mail.domain.ext)
- A valid email address (e.g. mail@domain.ext) , or maybe even an invalid one… just don’t expect to see any replies back. The first thing to do is to open a connection from your computer to your mail server.
