SMTP via commandline (OLD knowledge being documented so I won’t forget it again)

This is being put here because I always forget the syntax for the SMTP command syntax when testing a mail server SMTP functionality by hand.

telnet 25
subject:this is a test
this is the body of the message, implement me as necessary.


And that’s it. That sends a test message through the smtp gateway just as your coveted Outlook does.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.