Because I tire of looking up each time when I need to send a test message, I am adding this here for a quick reference.

Commands are bold
data is italics

telnet servername 25

helo somename

mail from:mailname@example.com

rcpt to:mailname@example.com
rcpt to:mailname2@example.com

data

subject:your subject information here

Body stuff goes here and here and here, etcetera, etcetera…

.

In case you aren’t aware, you terminate an SMTP email with a period by itself on it’s own line.  That is not a typo.

Of course now that I think about it, I will have to look this up as well, Google is probably faster.  🙂

 

Advertisements