Skip to content

Instantly share code, notes, and snippets.

@vamdt
Last active March 17, 2016 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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:<test@mail.host> #发送方
rcpt to: <testing@target.mail.host> #收件方
data #正文
TO: testing@target.mail.host
FROM: test@mail.host
SUBJECT: telnet test
test,aha
. #正文以.结束
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment