Simple Mail Transfer Protocol (SMTP)
Internet standard. The communication rules that systems follow for the reliable and efficient transfer of email messages. RFC 821 defines this standard.
- You compose and email and press Send.
- Your Mail User Agent (MUA), the email app, adds some metadata called headers to your email message. These include
To,From, andSubject. - The message passes to a Mail Transfer Agent (MTA), usually an SMTP server.
- The MTA performs a few operations:
- Decodes your email.
- Determines which server the message must be sent to for your recipient to retrieve it.
- Adds routing metadata like
Received,Date, and other data. - Issues SMTP commands that start the routing the email message to the receiving server.
- If the email message crosses domains, the messages use an SMTP relay.
- When the recipient's email provider, like Yahoo! or Gmail, receives the message, it downloads and delivers it to the appropriate inbox.