Occasionally I’ve had to troubleshoot sending email messages to a particular SMTP server by simulating a mail client (or .NET mail code) by using the telnet client. Here’s how I do it on Windows:

  1. Open the command prompt
  2. type: telnet smtpserver.domain.com 25 <press enter>
  3. type: helo domain.com <press enter>
  4. type: mail from: [email protected] <press enter>
  5. type: rcpt to: [email protected] <press enter>
  6. type: data <press enter>
  7. Write a test message. Typically, I type something like: hello world! <press enter>
  8. To send the message, type a single period (.) on a like by itself and <press enter>

Leave a Reply

I’m Peter

I’ve spent my career building software and leading engineering teams. I started as a developer and architect, grew into engineering leadership, and today I serve as a Chief Technology Officer.

Here, I share practical insights on technology, leadership, and building high-performing teams.

Connect with me on LinkedIn.

Discover more from Peter Mourfield

Subscribe now to keep reading and get access to the full archive.

Continue reading