Communication protocol | |
Abbreviation | SMTP |
---|---|
Purpose | Electronic mail transmission protocol |
Introduction | November 1981 |
OSI layer | Application layer |
Port(s) | 587, 465, 25 |
RFC(s) | RFC 788, RFC 821, RFC 974 |
Internet protocol suite |
---|
Application layer |
Transport layer |
Internet layer |
Link layer |
The Simple Mail Transfer Protocol (SMTP) is an Internet standard communication protocol for electronic mail transmission. Mail servers and other message transfer agents use SMTP to send and receive mail messages. User-level email clients typically use SMTP only for sending messages to a mail server for relaying, and typically submit outgoing email to the mail server on port 587 or 465 per RFC 8314. For retrieving messages, IMAP (which replaced the older POP3) is standard, but proprietary servers also often implement proprietary protocols, e.g., Exchange ActiveSync.
SMTP's origins began in 1980, building on concepts implemented on the ARPANET since 1971. It has been updated, modified and extended multiple times. The protocol version in common use today has extensible structure with various extensions for authentication, encryption, binary data transfer, and internationalized email addresses. SMTP servers commonly use the Transmission Control Protocol on port number 25 (between servers) and 587 (for submission from authenticated clients), both with or without encryption.