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
fcdw 2012-07-19 03:15am - No Email - Logged IP: 144.132.145.95

gaayyyyyyy

UnderDoG 2012-08-08 01:38am - No Email - Logged IP: 212.178.155.2

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

Thnx original poster for the example.

villan.me 2013-10-23 04:10am - No Email - Logged IP: 98.196.159.176

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

All content licensed under the Creative Commons License