Telnet using mail checks

How to test mail diagnosis using command line,A simple test can performs using with telnet .And this is simple troubleshooting technic  you can talk to a mail server directly as if you were an email program.

How to read mails using Telnet
_____________________________

type CMD in Run command

Type telnet ip 110 Eg:telnet mail.email.com 110

when it connected give credentials

user ;type username

pass ;type password

list ;display messages

retr 2 ; Displays the message-2

quit

How to send mails using Telnet
______________________________

telnet server 25 Eg:telnet mail.email.com 25

will get response code 220 then

EHLO server.com

response code 250 ok

MAIL FROM:address

RCPT TO:toadd

DATA.

response 354 Send data

subject:..
gtffffftf
fhf

and just type period(.)

type
quit

exit from the session

Advertisements

Posted on April 20, 2011, in General, Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: