Using Telnet To Troubleshoot SMTP or Send Email

Problem :

- got an bounce error after sending email using Thunderbird, apple Mail, Outlook, Outlook Express, Opera and etc

- check out email account existence on recipient server

- testing email server on SMTP port

- testing firewall rules on SMTP port

Solution :

- telnet <email recipient domain MX address> 25

- use commands e.g. helo, mail from, rcpt to, data & quit

- e.g.

  • telnet somedomain@nowhere.com 25
  • helo sendingfromdomain.com
  • mail from:sender@sendingfromdomain.com
  • rcpt to:to@youremail.com
  • data
  • this is the body of the email
  • type a . (literally) at a new line to indicate finishing body (the next line with a “dot” only is an example)
  • .
  • quit

Voila !

Related posts:

  1. Star Wars ASCII Animation Through Telnet Telnet to
  2. Grep Exim Email Transaction with Bash While emai
  3. Check DNS Record with Dig Command Check DNS
  4. exim, playing with mail queue in server there are
  5. macports – port common usage update por

One Response to “Using Telnet To Troubleshoot SMTP or Send Email”

  1. telnet user Says:

    ;) first comment ,..
    thx..

Leave a Reply