So, a friend of mine needed to test an email (SMTP) mail server and was writing something to do this in java when I mentioned that it could be tested via telnet.
Here are some of the commands that I’ve used previously:
Telnet to the mail server on the correct port (by default port 25) e.g. telnet [...]
This is a simple way to get an email from a *nix command line that will test that emails can be sent. I’ve also set it up so that it tells you the name of the user who sent the email and the machine from which it was sent. The time and date is so [...]
Continue reading about How to test email from the command line on a *nix machine