Site icon

How to send SMTP email using Telnet

Before email program like Outlook or Mozilla thunderbird exists, telnet is the program you use to send email. This method is considered old enough and it exist at the beginning of the internet itself.

The items in bold are what you should type.

Start telnet by the following command at your command prompt/shell

telnet 25 ESMTP Exim 4.68 #1 Sun, 24 Feb 2008 11:17:08 +080
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.


250 Hello []

mail from:
250 OK

250 Accepted

354 Enter message, ending with “.” on a line by itself

This is test.
250 OK id=1JT7R9-00066M-7Z

221 closing connection

Connection to host lost.

Exit mobile version