networking:email_with_telnet
This is an old revision of the document!
Table of Contents
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; <html> <body> <h2>An important link to look at!</h2> </body> </html> . quit
networking/email_with_telnet.1590311994.txt.gz · Last modified: (external edit)
