Telnet SMTP with Headers

Random

Although I’ve covered this before if you want to add some headers into a test email, this can be done by just adding the required header into the “DATA” section. In the example below I’m adding in a header called “List-Id”. You would telnet into your mail server then type in the following:

HELO domain.com
MAIL FROM:bob@domain.com
RCPT TO:bill@turnip.co.uk
DATA
List-Id:Myreallynicelist
To: Bill Smith <bill@turnip.com>
From: Bob Job <bob@domain.com>
Subject: I Like Lists = No Disclaimer

Hello,

My Message Contents

Thanks

Bob

.
QUIT

Leave a Reply

Your email address will not be published. Required fields are marked *