Home > Mac OS X Tips > Testing Your Computer’s Connection to Email Using Telnet

Testing Your Computer’s Connection to Email Using Telnet

September 5, 2013

Trying to diagnose why you can’t receive or send email or connect to your email account from your computer or laptop can be very frustrating. This problem is asked of us alot. Unfortunately there can be dozens of different reasons such as your local service provider is blocking port 25 which is the standard port for sending email. Other times it is because of a computer firewall, or anti-virus software or even a poorly configured email client program. What you need is a more foolproof way to test the connection to your email provider and get some feedback as to what might be the issue. A good way to do this is to use a Telnet capable program. Below is some information on how to do this.

Testing email connection using Telnet
See this links for reference:
www.ndchost.com/wiki/mail/test-smtp-auth-telnet
username: me@yourwebsever.com
pass: mypassword

Use this statement to encode your login and password
perl -MMIME::Base64 -e ‘print encode_base64(“me@yourwebsever.com”);’

Open up your Mac Terminal or other Telnet capable program

>> telnet smtp.yourwebsever.com 587
>> EHLO slickrockweb.com

>> AUTH LOGIN

Enter in the base64 encoded login>> fgH429uLmNvbS==

Enter in the base64 encoded password>> gjleldThdgY+

Once you are successfully logged in you can use the command ‘HELP’ to find out additional commands like the one shown below.

>> MAIL FROM:me@yourwebsever.com

 

Mac OS X Tips

  1. No comments yet.
  1. No trackbacks yet.