Votes: 0Posted On: May 25, 2017 03:45:59
SMTP stands for Simple Mail Transfer Protocol. Generally speaking, it is the standard protocol for transmission of electronic mail. The server that sends and receives email is called SMTP server. Here we discuss the process that takes place in sending an e-mail and the role SMTP server plays in it.
1. Consider a scenario where you are sending an email with id as email@example.com to firstname.lastname@example.org. Here your sender SMTP mail server is "gmail" server and the recipient SMTP mail server is "psychz". You can send the mail through e-mail client installed in your system like MS Outlook or Thunderbird. These e-mail clients help you to log in to the SMTP mail server (in this case the Google server) of your e-mail. You can also log onto the server website through the web browser and send/receive mail from there.
2. Once you type the e-mail and click on send with the recipient's address as email@example.com, the e-mail reaches the Gmail SMTP server and gets stored there.
3. The Gmail SMTP server accesses the recipient's address into two parts - the id "xyz" and the DNS "psychz.com". The Gmail SMTP server contacts the DNS server for information about the recipient. The DNS server, in turn, returns the IP addresses mapped to the recipient's domain name with priority information. These are the IP addresses of the recipient's SMTP servers(in this case Psychz!). If the recipient contains multiple servers then multiple IP addresses will be provided with priority.
4. The sender SMTP server after receiving the IP addresses contacts the IP addresses priority wise until it finds its recipient SMTP server.
The e-mail is sent to the recipient's SMTP server where it is stored.
5. The recipient SMTP server accesses the id of the recipient, that is, "xyz" and stores it into the account of the user.