Skip to content

Instantly share code, notes, and snippets.

@wladimir
Created June 3, 2011 19:53
Show Gist options
  • Save wladimir/1007045 to your computer and use it in GitHub Desktop.
Save wladimir/1007045 to your computer and use it in GitHub Desktop.
SMTP
C: <client connects to service port 25>
C: HELO snark.thyrsus.com sending host identifies self
S: 250 OK Hello snark, glad to meet you receiver acknowledges
C: MAIL FROM: <[email protected]> identify sending user
S: 250 <[email protected]>... Sender ok receiver acknowledges
C: RCPT TO: [email protected] identify target user
S: 250 root... Recipient ok receiver acknowledges
C: DATA
S: 354 Enter mail, end with "." on a line by itself
C: Scratch called. He wants to share
C: a room with us at Balticon.
C: . end of multiline send
S: 250 WAA01865 Message accepted for delivery
C: QUIT sender signs off
S: 221 cpmy.com closing connection receiver disconnects
C: <client hangs up>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment