SMTP β
SMTP stands for Simple Mail Transfer Protocol.
It is the standard protocol used to send emails between mail servers or from a mail client to a server. SMTP defines how email messages are formatted, transferred, and relayed across networks.
π What SMTP Does (and Doesnβt Do) β
SMTP does | SMTP does not |
---|---|
Send email from client to server | Retrieve emails from mailbox |
Send email server to server | Store emails long-term |
Relay or forward email | Download messages to your device |
π§ Common SMTP Ports β
Port | Usage |
---|---|
25 | Server-to-server mail (original SMTP) |
587 | Client-to-server (modern standard) β |
465 | SMTP over SSL (deprecated, still used) |
π€ Bonus: What a Typical SMTP Exchange Looks Like β
text
HELO client.example.com
MAIL FROM:<you@example.com>
RCPT TO:<friend@example.net>
DATA
Subject: Test
Hello World.
.
QUIT
This is the raw SMTP conversation between mail servers or clients.
β TL;DR β
SMTP stands for | Simple Mail Transfer Protocol |
---|---|
Used for | Sending email from client to server or between servers |
Defined by | RFC 5321 and related standards |
Works with | DNS (MX records), optional with TLS, SPF, DKIM, DMARC |