Simple Mail Transfer Protocol (SMTP)

SMTP is a text based protocol where the sender communicates with a mail receiver by sending command strings and data over an ordered data stream channel, typically a TCP connection. A session basically consists of the client sending commands and the server replying and act accordingly. The three basic commands are MAIL, RCPT and DATA.

Example from wikipedia follows: