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.


  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.



Everything to Know About Cloud VDI and Azure Virtual Desktop

By now, most of us have experienced some form of remote work, whether it was during the height of the pandemic or now in the midst of the hybrid work...

What's New in SQL Server 2022 – Licensing Updates

SQL Server 2022 is now generally available and with it come some licensing changes you need to be aware of. Microsoft also announced that SQL Server...

Azure Modernization Assessment: Building a Robust Cloud-Ecosystem Starts Here

The pandemic may have accelerated the cloud journey trend, but cloud momentum isn’t slowing down anytime soon. Cloud adoption increased 25% in the...