← Back to Insights
Insight

Using Telnet to Send Mail

Sending email through telnet can be a useful tool when testing mail functionality, testing for open relays, or sending mail from admin scripts. This is something I don’t use often enough, so I’ve created this blog as a reminder.

Sending email through telnet can be a useful tool when testing mail functionality, testing for open relays, or sending mail from admin scripts. This is something I don’t use often enough, so I’ve created this blog as a reminder.

stay up to date on all microsoft announcements

  1. Open the cmd prompt.
  2. Type telnet <server> 25
  3. Type HELO <domain>
  4. Type MAIL FROM: <email address>
  5. You may get a message saying “250 ok
  6. Type RCPT TO: <email address>, <email address>, <email address>, etc.
  7. You may get another message saying “250 ok
  8. To write the message, type DATA, followed by your message.
  9. To enter a Subject, type SUBJECT:, followed by your message.
  10. To end the message, put a period on a new line by itself and press Enter.
  11. Type QUIT to exit Telnet.

Cloud infrastructure  assessment

Source: http://www.wikihow.com/Send-Email-Using-Telnet

Talk to a senior Microsoft expert.

No slide decks. Real numbers, real engineers, often Microsoft-funded.

Talk to an Expert →
Stay ahead

The stack, decoded. Once a month.

Cost, security, and AI guidance you can act on. Written by the engineers, not marketing.