I understand SMTP, and to a lesser degree POP3, but I feel like I'm missing a large chunk inbetween.
I see this image on a Microsoft page:
(source: microsoft.com)
and I feel like what I'm missing is the "Internet" part. Basically: does the SMTP server directly contact the end POP3 server and transmit the message directly to the target server as you send it? As far as I know, the message will actually "bounce around" a lot and travel through many different servers before reaching its final destination. Or am I wrong, and it's really just a single transmission from one server to another? How does delivery work? Is it a part of SMTP or POP3, or is it a different protocol altogether?
Does sending mail to [email protected]
just translate to "find the server at example.com, and send a message through its POP3 port"?
As shown in your graphic, no protocol that exists "between" SMTP and POP3. SMTP is responsible for moving the message from the sending computer to the recipient's mail server. If there are multiple servers involved in moving the message from the sender's server to the recipient's server, each one moves the message via the SMTP protocol. These in-between servers (if any) are "relay" servers.
Here's a step-by-step (mail server software independent!) overview of how mail moves from sender to recipient:
Most often messages are delivered like this, from the sender's mail server directly to the recipient's. However, it's perfectly possible that there could be multiple servers between the sender's and the recipient's, in which case each one acts as a "relay server" (reasons for this include having a server perform spam/virus filtering before sending the message to the destination server, or the destination company having many internal servers involved in moving the e-mail from one Internet-connected mail server to a server in the exact office where Dave works).
In any case, each relay server will look up a server that it should send the e-mail to (based on the domain name in the To: address of the e-mail) and use the SMTP protocol to pass the message on. Only once the message arrives at the destination server (where the recipient's mailbox exists) will the POP3 protocol be used by the recipient's computer to retrieve the message out of the user's mailbox.