SMTP Mail Handshake

helo web-ster.com
250 hello mail.web-ster.com
MAIL FROM: donk@donk.com
250 ok
RCPT TO: donk@donk.com
250 ok its for <donk@donk.com>
DATA
354 ok, send it; end with <CRLF>.<CRLF>
To: fake-address@donk.com
From: donk@donk.com
Subject: This is only a test...

Hello, this is the body.  This whole email is forged.
It's not legit at all!

.
250 Message queued
QUIT
221 Goodbye
Leave A Reply - 3 Replies
Replies
July 19th 2012 - fcdw

gaayyyyyyy

August 8th 2012 - UnderDoG

Wow fcdw; you must be really proud of yourself; leaving such an intelligent remark!

Thnx original poster for the example.

October 23rd 2013 - villan.me

i am writing a mail server from scratch, so, this helped. thanks for this example.

All content licensed under the Creative Commons License