Created
December 13, 2020 10:15
-
-
Save mrzcn/da87c91ccc0e3402aa24d19f08c6223f to your computer and use it in GitHub Desktop.
Example CMD Commands for Testing a SMTP/Mail server via 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
C:\Windows\System32> telnet | |
Microsoft Telnet> set localecho | |
Microsoft Telnet> set logfile c:\TelnetTest.txt | |
Microsoft Telnet> OPEN 10.10.10.19 465 | |
ehlo | |
MAIL FROM: [email protected] | |
RCPT TO: [email protected] NOTIFY=success,failure | |
DATA | |
Subject: test | |
This is a test message. | |
. | |
250 2.6.0 <[email protected]> [InternalId=5111011082268, Hostname=mail1.fabrikam.com] Queued mail for delivery | |
QUIT | |
221 2.0.0 Service closing transmission channel | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment