Skip to content

Instantly share code, notes, and snippets.

@vamdt
Last active March 17, 2016 07:19
Show Gist options
  • Save vamdt/c9149ecdb364da195940 to your computer and use it in GitHub Desktop.
Save vamdt/c9149ecdb364da195940 to your computer and use it in GitHub Desktop.
telnet send mail, for test
telnet mail.host 25
ehlo mail.host #握手
mail from:<[email protected]> #发送方
rcpt to: <[email protected]> #收件方
data #正文
TO: [email protected]
FROM: [email protected]
SUBJECT: telnet test
test,aha
. #正文以.结束
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment