If you are having issues with the SMTP Server, then sometimes you just wish you had a swiss army knife to test the same and then you would not have to spend your precious time on some silly mistake that you may have made. Your wish is now fulfilled.

To begin with, if you want to test the localhost then simply enter swaks, you will be asked for \”to\” address. And then there will be a attempt to send the mail. And you can see the messages on the console. Here\’s an example: