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:
- Star Wars ASCII Animation Through Telnet Telnet to
- Grep Exim Email Transaction with Bash While emai
- Check DNS Record with Dig Command Check DNS
- exim, playing with mail queue in server there are
- macports – port common usage update por
November 25th, 2008 at 6:24 pm
thx..