S: HELO .
R: 250 mailserver.destinationcom.com Hello mailhost.sendercompany.com [127.0.0.1], pleased to meet you
S: MAIL FROM:<sender@sendercompany.com>
AS: MAIL FROM:<>
# Therefore a null sender address.
R: 250 OK
S: RCPT TO:<friend@destinationcom.com>
R: 250 OK
S: RCPT TO:<oldfriend@destinationcom.com>
R: 550 No such user here
S: RCPT TO:<anotherfriend@destinationcom.com>
R: 250 OK
S: DATA
R: 354 Enter mail, end with "." on a line by itself
OS:To: Friend Real Name <friend@destinationcom.com>
OS:From: Sender Real Name <sender@sendercompany.com>
OS:Errors-To:<adminperson@sendercompany.com>
# Only useful for mailing lists where you want to redirect errors away from the list.
OS:Reply-To:<altsendersaddress@sendercompany.com>
# Reply to a diffrent address, than the from address.
OS: Content-Type: text/html; charset="iso-8859-1"
# To send HTML formated email, please don't do this.
OS: SUBJECT: a test
S:
# Yes the above line was a blank line, this seprates the headers from the message.
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK