network Network MOC


The Simple Mail Transfer Protocol is ancient, but too widely used to change easily. It is connection-oriented, like the TCP Protocol. It is commonly used in email servers for sending email or between e-mail servers.

Commands

  • MAIL: Establishes return address, bounce address, sender, and more
  • RCPT: Establishes address of recipient, repeated per recipient
  • DATA: Signifies start of message text with header and body
SMTP CodeMeaning
220SMTP Service Ready
250Requested Action Completed
421Service Unavailable
450User’s Mailbox Unavailable
451Recipient’s Server Error
452Server Storage Insufficient
500Command Syntax Error
501Command Arguments Syntax Error
503Bad Sequence of Commands
550User’s Mailbox Unabailable
551Recipient Not Local
552Recipient’s Email Full
554Delivery Error