Launch the telnet
client.
Connect to the mail server you'd like to test
OPEN mail.skeelstech.com 25
Send an EHLO
EHLO jojo.com
Start crafting an email the server will process
Define the FROM address
MAIL FROM:<joey@jojo.com>
Define the recipient address
RCPT TO:<ross@rlskeels.com> NOTIFY=success,failure
Tell the server you're going to start feeding in the subject and body of the email
DATA
Define the subject. Add a second new-line
/ carriage return after submitting the Subject to indicate the Body is coming next. (There should be an empty line between the Subject and Body)
Subject: My test email
Define the Body (this is the raw text that will make up the body - no special formatting or tags needed)
This is the body of my test email!
Once the body has been submitted to the server, exit the DATA submission section by sending a period (.
)
.
To exit/end the session with the mail server
QUIT