-
-
Save Metacowboy/5e4ad49a84aee3c9dc9189c9ee91de6a to your computer and use it in GitHub Desktop.
Example telnet to check if a GMAIL email exists
This file contains hidden or 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 gmail-smtp-in.l.google.com 25 | |
Connected to gmail-smtp-in.l.google.com. | |
220 mx.google.com ESMTP t2si1556751otm.271 - gsmtp | |
HELO gmail.com | |
250 mx.google.com at your service | |
mail from:<[email protected]> | |
250 2.1.0 OK t2si1556751otm.271 - gsmtp | |
rcpt to:<[email protected]> | |
550-5.1.1 The email account that you tried to reach does not exist. Please try | |
550-5.1.1 double-checking the recipient's email address for typos or | |
550-5.1.1 unnecessary spaces. Learn more at | |
550 5.1.1 https://support.google.com/mail/?p=NoSuchUser t2si1556751otm.271 - gsmtp | |
rcpt to:<[email protected]> | |
250 2.1.5 OK t2si1556751otm.271 - gsmtp | |
data | |
354 go ahead, make my day | |
Subject: My Telnet Test Email | |
Hello, | |
This is an email sent by using the telnet command. | |
Your friend, | |
Me | |
. | |
quit | |
221 carlos.local closing connection. Have a jolly good day. | |
Connection closed by foreign host. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment