======Email with Telnet======
This page contains instructions on how to send an email using telnet.
=====Prerequisites=====
The machine must have telnet installed and must be able to connect to port 25 of an email relay.
=====Sending Email Using Telnet=====
telnet mail.example.com 25
EHLO example.com
MAIL FROM: source@example.com
RCPT TO: target@example.com
DATA
FROM: Your Name
TO: Target Name
SUBJECT: Some Subject Text Here
Hey You,
Life is good. Enjoy it.
Regards,
Me
.
quit
=====Send HTML Email=====
telnet mail.eample.com 25
EHLO example.com
MAIL FROM: source@example.com
RCPT TO: target@example.com
DATA
FROM: John Smith
TO: Jane Smith
SUBJECT: Some Subject Text Here
Mime-Version: 1.0;
Content-Type: text/html; charset="ISO-8859-1";
Content-Transfer-Encoding: 7bit;
An important link to look at!
.
quit