SMTP

From miki
Revision as of 14:45, 8 December 2008 by Mip (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Test Script

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