Difference between revisions of "SMTP test"

From Noah.org
Jump to navigationJump to search
Line 1: Line 1:
 
[[Category:Engineering]]
 
[[Category:Engineering]]
 
== SMTP testing with telnet ==
 
== SMTP testing with telnet ==
 +
 +
This shows how to do basic sanity test of a POP3 server. See also [[IMAP_test]] and [[POP_test]].
  
 
Basic four steps in the communication:
 
Basic four steps in the communication:

Revision as of 16:39, 18 July 2008

SMTP testing with telnet

This shows how to do basic sanity test of a POP3 server. See also IMAP_test and POP_test.

Basic four steps in the communication:

  • HELO
  • MAIL FROM:
  • RCPT TO:
  • DATA
lelnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 noah-kubuntu Python SMTP proxy version 0.2
HELO noah.org
250 noah-kubuntu
MAIL FROM:noah@noah.org
250 Ok
RCPT TO:noah@noah.org
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: test mail

Hello, this is a test.
.
250 Ok: queued as 12345