You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Email spoofing: why an email can say it comes from someone who never sent it

How email works: why a fake email from your boss can reach your inbox

SMTP: how an email travels from mail server to mail server

An email never goes straight from your phone to your friend's. Who carries it, how do they talk, and why is it not lost when her phone is off?

  1. 1 When Rono taps Send, the email does not go to you. It goes to a mail server: a computer that is always on, and whose job is to send and receive email.Rono's laptopRono'smail server

    When Rono taps Send, the email does not go to you. It goes to a mail server: a computer that is always on, and whose job is to send and receive email.

  2. 2 Most people send through the mail server of a big email provider, and those let you send only from your own address. So Rono rents a server of his own, and it sends whatever he writes.Only from yourown address.Any addressyou like.a big email providerRono's mail server

    Most people send through the mail server of a big email provider, and those let you send only from your own address. So Rono rents a server of his own, and it sends whatever he writes.

  3. 3 His server passes the email on to the mail server of the workshop, the one that takes in every email for woodshop.example. The two servers talk in a language made for this one job: SMTP, the Simple Mail Transfer Protocol.Rono'smail serverthe workshop'smail serveracross the internetSMTP

    His server passes the email on to the mail server of the workshop, the one that takes in every email for woodshop.example. The two servers talk in a language made for this one job: SMTP, the Simple Mail Transfer Protocol.

  4. 4 SMTP is a short chat in plain words. One server says who the email is for, the other agrees, the email goes over, and the other confirms. From that moment, the email is the job of the workshop's server.Rono'smail serverthe workshop'smail serverI have an email foryou@woodshop.example.OK, send it.Here it is.Got it.

    SMTP is a short chat in plain words. One server says who the email is for, the other agrees, the email goes over, and the other confirms. From that moment, the email is the job of the workshop's server.

  5. 5 Each server keeps the email until the next one says it has it. If the workshop's server is down, the sending server holds on and tries again, for up to several days. You and the person you write to never have to be online at the same moment.Rono'smail serverdown foran hourtry again later

    Each server keeps the email until the next one says it has it. If the workshop's server is down, the sending server holds on and tries again, for up to several days. You and the person you write to never have to be online at the same moment.

  6. 6 The workshop's server puts the email in your mailbox, a folder it keeps for you. When your phone's email app asks for anything new, it gets a copy, and there it is on your screen.the workshop'smail serveryour mailboxAnything new?you

    The workshop's server puts the email in your mailbox, a folder it keeps for you. When your phone's email app asks for anything new, it gets a copy, and there it is on your screen.

  7. 7 One step is missing. Rono's server had only your address to go on, and the part after the @ is a name, not a place. Among all the computers of the internet, it still found the right one.To: you@woodshop.exampleRono'smail server?????

    One step is missing. Rono's server had only your address to go on, and the part after the @ is a name, not a place. Among all the computers of the internet, it still found the right one.

  8. Quick check

    Quick check.Your friend's phoneis off all weekendwhen you send heran email. Is theemail lost?

    Quick check.

    Show the answer

    No. Her mail server takes it and keeps it in her mailbox. Her phone gets it when it is on again and asks.

  9. Go further

    Two names you may meet.IMAPthe language your phone's emailapp uses to ask your mail serverwhat is in your mailboxReceived lineeach server that takes the emailin adds a line at its top: whohanded it over, and when. Mostemail apps can show these lines,Gmail under "Show original"

    Two names you may meet.

Next episode MX records: how an email finds the mail server of a domain

Share this comic

More comics