Library
Back to reading

What Is Simple Mail Transfer Protocol?

How Does SMTP Deliver Email Across the Internet?

Simple Mail Transfer Protocol (SMTP) is the Internet standard protocol used to send email messages between computers and mail servers. It provides the rules that enable email clients to submit outgoing messages and allows mail servers to relay those messages across the Internet until they reach the recipient's mail server. SMTP is one of the oldest and most widely used application-layer protocols on the Internet.

The basic principle is straightforward. When a user sends an email, the email application establishes a connection to an SMTP server. The server verifies the sender, accepts the message, determines the destination domain, and forwards the message either directly to the recipient's mail server or through one or more intermediate mail servers. Once the message reaches the destination server, it is stored until the recipient retrieves it using another protocol, typically IMAP or POP3.

A useful analogy is sending a letter through a postal service. The sender places the letter in a mailbox, the postal service transports it through a network of sorting centres, and it is finally delivered to the recipient's local post office for collection or delivery. Similarly, SMTP transports email messages through a network of mail servers until they arrive at the recipient's mailbox.

SMTP operates using a store-and-forward approach. Each mail server temporarily stores the message, determines the next destination, and forwards it toward the recipient. If a destination server is temporarily unavailable, the sending server continues attempting delivery for a specified period before reporting a delivery failure. This approach makes email highly reliable despite temporary network interruptions.

Modern SMTP incorporates numerous security enhancements. Most email servers use Transport Layer Security (TLS) to encrypt communication between email clients and servers and between mail servers. SMTP authentication requires users to verify their identity before submitting outgoing email, helping to reduce unauthorised use and spam. Additional technologies such as SPF, DKIM, and DMARC assist receiving servers in verifying the authenticity of email messages and detecting forged sender addresses.

It is important to distinguish SMTP from POP3 and IMAP. SMTP is responsible for sending and relaying email, whereas POP3 and IMAP allow users to retrieve messages from their mailboxes. SMTP therefore operates primarily between email clients and outgoing mail servers, and between mail servers themselves, while POP3 and IMAP operate between a user's email client and the incoming mail server.

Today, Simple Mail Transfer Protocol remains the universal standard for email transmission across the Internet. Despite the emergence of instant messaging and collaboration platforms, email continues to be one of the world's most important communication services. SMTP, working together with IMAP or POP3 and the TCP/IP Protocol Suite, enables billions of email messages to be delivered reliably every day between individuals, businesses, governments, and organisations worldwide.

Back to reading