TelNet
Table of contents
Install telnet
brew install telnet
Check email availability
-
Run
nslookup -q=mx example.com
- To check the responsible mail server.
-
Then run,
telnet aspmx.l.google.com 25
- Using Google as mail server
-
After running the command, we should see below outputs
Trying 192.168.25.0 (would be a Google IP)... Connected to aspmx.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP l10si1917496wrc.306 - gsmtp helo hi 250 mx.google.com at your service mail from: <[email protected]> 250 2.1.0 OK l10si1917496wrc.306 - gsmtp rcpt to: <example@example.com> 250 2.1.5 OK l10si1917496wrc.306 - gsmtp quit