Sending email using telnet command

  1. Open your command prompt.
  2. Now, connect with telnet using the following command:
    telnet 25
  3. Type ehlo Some servers also accept helo in place of ehlo.
  4. Type mail from:
    mail from:
  5. Type rcpt to:, (replace with your actual recipient name):
    rcpt to:,
  6. To write the message – type data, followed by your subject and message. To end the message, put a period on a line by itself and press enter:
    Subject: My Telnet Test Email
    This is a test email using the telnet command.
    Your admin,
  7. Type quit to exit telnet.

Viet Luu has written 152 articles

Leave a Reply