▸Protocol notes for this page (click to expand)

SMTP (Simple Mail Transfer Protocol) / POP3 (Post Office Protocol version 3) / IMAP (Internet Message Access Protocol)

Sending and receiving use different protocols

· SMTP only sends, and mail is relayed hop by hop between servers; SMTP provides no way to read mail;
· POP3 and IMAP only receive, and cannot be used to send.

So a mail client is configured with two server addresses: SMTP for the outgoing server, IMAP or POP3 for the incoming server.

How POP3 and IMAP differ

The difference is where the mail is kept:

· POP3 keeps mail on the user's computer and by default deletes the server's copy after downloading;
· IMAP keeps mail on the server; the client only views it, and read state, folders and deletions are all synced back to the server.

So several devices sharing one mailbox need IMAP: a message read on the phone shows as read on the laptop too.

Common misconceptions

SMTP cannot be used to receive mail. Servers relay mail with SMTP, and a client uses it only to send.

With POP3, deleting a downloaded message on the phone does not affect the copy on the laptop. Each device downloads its own copy and their states are unrelated.

In SMTP the sender is filled in by the sending side and the protocol does not verify it, which is why SPF and DKIM are needed to verify the sender.