SMTP: Difference between revisions

From miki
Jump to navigation Jump to search
(New page: == Test Script == Simple test script found by [http://www.google.be/search?hl=en&q=smtp+test+script Googling]... > telnet server 25 <font color="gray">220 srv1.dpetri.net Microsoft ES...)
 
No edit summary
Line 1: Line 1:
== Test Script ==
== Testing SMTP ==
=== Tools ===
Same as for [[IMAP#Tools|testing IMAP]].

=== Test scripts ===
Simple test script found by [http://www.google.be/search?hl=en&q=smtp+test+script Googling]...
Simple test script found by [http://www.google.be/search?hl=en&q=smtp+test+script Googling]...



Revision as of 08:26, 22 January 2009

Testing SMTP

Tools

Same as for testing IMAP.

Test scripts

Simple test script found by Googling...

> telnet server 25

220 srv1.dpetri.net Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at Sun, 15
Sep 2002 23:51:06 +0200
helo srv1.dpetri.net
250 srv1.dpetri.net Hello [192.168.0.100]
mail from: admin@petri.co.il
250 2.1.0 admin@petri.co.il....Sender OK
rcpt to: danielp@dpetri.net
250 2.1.5 danielp@dpetri.net
data
354 Start mail input; end with <CRLF>.<CRLF>
subject: this is a test
Hi Daniel
I'm trying to test this connection from Telnet.
Let me know if you get this message.

.
250 2.6.0 <SRV1zNQZO0KheDSZeTd00000002@srv1.dpetri.net> Queued mail for delivery
quit
221 2.0.0 srv1.dpetri.net Service closing transmission channel