Alex Xu

Alex Xu



/1 One picture is worth more than a thousand words. In this post, we will take a look at what happens when Alice sends an π„π¦πšπ’π₯ to Bob.

/2 1. Alice logs in to her Outlook client, composes an email, and presses β€œsend”. The email is sent to the Outlook mail server. The communication protocol between the Outlook client and mail server is SMTP.

/3 2. Outlook mail server queries the DNS (not shown in the diagram) to find the address of the recipient’s SMTP server. In this case, it is Gmail’s SMTP server. Next, it transfers the email to the Gmail mail server. The communication protocol between the mail servers is SMTP.

/4 3. The Gmail server stores the email and makes it available to Bob, the recipient. 4. Gmail client fetches new emails through the IMAP/POP server when Bob logs in to Gmail.

/5 If you are unfamiliar with email protocols, here is a short summary: SMTP: Simple Mail Transfer Protocol (SMTP) is the standard protocol for sending emails from one mail server to another.

/6 The most popular protocols for retrieving emails are known as Post Office Protocol (POP) and the Internet Mail Access Protocol (IMAP).

/7 POP is a standard mail protocol to receive and download emails from a remote mail server to a local email client. Once emails are downloaded to your computer or phone, they are deleted from the email server, which means you can only access emails on one computer or phone.

/8 The details of POP are covered in RFC 1939. POP requires mail clients to download the entire email. This can take a long time if an email contains a large attachment.

/9 IMAP is also a standard mail protocol for receiving emails for a local email client. When you read an email, you are connected to an external mail server, and data is transferred to your local device.

/10 IMAP only downloads a message when you click it, and emails are not deleted from mail servers, meaning that you can access emails from multiple devices. IMAP is the most widely used protocol for individual email accounts.

/11 Please keep in mind this is a highly simplified design. Hope it sparks your interest and curiosity:)

I hope you've found this thread helpful. Follow me @alexxubyte for more. Like/Retweet the first tweet below if you can:

Follow us on Twitter

to be informed of the latest developments and updates!

You can easily use to @tivitikothread bot for create more readable thread!
Donate πŸ’²

You can keep this app free of charge by supporting 😊

for server charges...