Skip to content
Help Center

SMTP (Simple Mail Transfer Protocol)

SMTP (Simple Mail Transfer Protocol) is the standard protocol used on the Internet for transmitting email messages between systems. This protocol is responsible for sending messages from one mail server to another

SMTP (Simple Mail Transfer Protocol) is the standard protocol used on the Internet for transmitting email messages between systems. This protocol is responsible for sending messages from one mail server to another; mail servers and mail transfer agents use SMTP to send and receive email messages on behalf of users. SMTP only handles message sending, not reception or storage.

Main features of SMTP:

  • Mail sending: SMTP is used exclusively for sending messages. For receiving emails, protocols such as POP3 or IMAP are used.
  • Network ports: Normally, SMTP operates through port 25 for unencrypted connections and ports 587 or 465 for connections encrypted with SSL/TLS.
  • Simple and efficient: SMTP is a relatively simple protocol, designed to transfer messages quickly and efficiently.

How SMTP works:

  1. Connection and communication: An email client (or server) connects to an SMTP server and sends a message along with routing instructions, such as the recipient's email address.
  2. Routing: The sending SMTP server determines where to send the message based on the recipient's domain and queries the DNS to find the appropriate receiving mail server.
  3. Message transfer: The SMTP server transfers the message to the receiving SMTP server (or an intermediate server). This process may involve several hops if intermediate servers are needed.
  4. Delivery to recipient: Once the email arrives at the recipient's SMTP server, the SMTP process concludes. The receiving server then uses POP3 or IMAP to store the message until the recipient retrieves it.

Security in SMTP:

  • Authentication: SMTP supports authentication extensions that prevent system abuse, such as sending spam or unsolicited mail.
  • Encryption: The use of TLS (Transport Layer Security) is common to encrypt the SMTP connection and protect message data during transmission.
  • SPF and DKIM: Additional technologies used to validate email messages and ensure they have not been altered in transit and to verify that the sending server is authorized by the sender's domain.

SMTP remains a fundamental pillar of email infrastructure, and despite its age, has adapted to modern security and network efficiency requirements.