Showing posts with label mail. Show all posts
Showing posts with label mail. Show all posts

Tuesday, February 1, 2011

Testing Email Using Telnet

Ever needed to test sending email through your mailserver from the terminal?

This may help.

telnet host 25
HELO mail.example.com
MAIL FROM: joe@example.com
RCPT TO: bob@example1.com
DATA
From: joe@example.com
To: bob@example1.com
Subject: Test Message

Hello World
.
QUIT