How Emails work
When you send an email to someone, there is a lot of processing involved in the backend, before the email reaches the recipient. A brief outline of the processes is explained below:
- You compose and send an email from your email client.
- The email client connects to the Outgoing SMTP server and handovers the email in MIME format.
- The Outgoing SMTP validates the senderdetails and processes the message for sending and places it in Outgoing queue.
- The SMTP server based on the domain details in the recipient address, looks up the DNS Server of the domain and retrieves the Recipient server information (MX records/ A Records in case no MX record is found) of the recipient domain.
- Then the SMTP Server connects with the Recipient email server and sends the email through SMTP protocol.
- The Recipient server, in turn, validates the recipient account and delivers the email to the user’s mail account.
- The user views the received email using his email client.