-
-
Save asolera/1bf024111f6ca6d4eb909fcac2db47d0 to your computer and use it in GitHub Desktop.
SMTP test using Telnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
telnet 172.16.10.10 25 | |
Trying 172.16.10.10... | |
Connected to 172.16.10.10. | |
Escape character is '^]'. | |
220 c1v41d.localdomain ESMTP Postfix | |
helo test.smtp | |
250 c1v41d.localdomain | |
mail from:<youremail@domain.com> | |
250 2.1.0 Ok | |
rcpt to:<youremail@domain.com> | |
250 2.1.5 Ok | |
data | |
354 End data with <CR><LF>.<CR><LF> | |
From: youremail@domain.com | |
Subject: test | |
test mail body | |
. | |
250 2.0.0 Ok: queued as <HASH> | |
quit | |
221 2.0.0 Bye | |
Connection closed by foreign host. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment