Skip to content

Instantly share code, notes, and snippets.

@skarllot
Last active August 29, 2015 14:25
Show Gist options
  • Save skarllot/729f659c3f9ccf90bd2a to your computer and use it in GitHub Desktop.
Save skarllot/729f659c3f9ccf90bd2a to your computer and use it in GitHub Desktop.
Using Telnet to connect to SMTP server
telnet 25
helo example.com
-250 OK
mail from:
-250 OK - mail from
rcpt to:
-250 OK - Recipient
data
-354 Send data. End with CRLF.CRLF
To:
From:
Subject:
.
-250 OK
quit
-221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment