BounceCheckBounceCheck
    • Features
      Bulk Email Verification
      Verify thousands of emails at once
    • Tools
      Disposable Email Checker
      Detect throwaway email domains
      Email Extractor
      Extract emails from any text or file
      DNS Health Checker
      Check MX, SPF, DMARC, DKIM & blacklists
    • Pricing
    • Compare
    • Blog
    • Docs
    Sign inStart Free
    Back to The Field Guide
    § Email Deliverability

    What Is SMTP? The Simple Mail Transfer Protocol Explained

    B
    BounceCheck Team
    July 2, 2026
    5 min read
    SMTP, the Simple Mail Transfer Protocol, explained

    SMTP stands for Simple Mail Transfer Protocol, the internet standard for sending and routing outgoing email between servers. When you hit send, SMTP is the set of rules that carries your message from your email client to your provider's server and on to the recipient's mail server. Think of it as the postal network for email: it handles the sending and the handoffs, while a separate protocol delivers the message into the recipient's inbox.

    This guide explains what SMTP is, how it works, what an SMTP server is, the ports it uses, and how it differs from the protocols that receive mail.

    What is SMTP?

    SMTP is an application-layer protocol, first defined in RFC 821 in 1982 and updated in RFC 5321, that lets mail servers and other message transfer agents send, receive, and relay email across networks. It defines the commands and responses two systems exchange to move a message, so any compliant client and server can talk to each other.

    SMTP handles outgoing mail only. Retrieving a message from the server into an inbox is the job of IMAP or POP, covered below. Modern email also layers extensions on top of SMTP: ESMTP (the EHLO command) adds capabilities, MIME lets messages carry attachments and HTML, and SMTPS wraps the connection in TLS or SSL encryption.

    How SMTP works

    How an email is sent via SMTP between servers

    An SMTP session is a short back-and-forth, sometimes called the SMTP handshake:

    1. Your client opens a TCP connection to the SMTP server, which answers that it is ready.
    2. The client identifies itself with a HELO (or EHLO) command naming its domain.
    3. It states the sender with MAIL FROM and the recipient with RCPT TO.
    4. It sends the message body with the DATA command, ending with a single period on its own line.
    5. The server accepts the message (reply code 250) and the client closes with QUIT.

    If the recipient is on another domain, the server relays the message to the next server along the route until it reaches the recipient's mail server. Each step uses the same command sequence.

    What is an SMTP server?

    An SMTP server, also called an outgoing mail server, is the software that handles sending. It receives your message from your email client, works out the next server based on the recipient's domain (querying DNS and the domain's MX record to find where mail should go), and relays it onward. Gmail's SMTP server, for example, is smtp.gmail.com.

    You can run your own SMTP server or use a cloud service such as Amazon SES, SendGrid, or Mailgun. Either way, you configure it with a server address, a port, encryption, and authentication credentials. New or high-volume servers should also be warmed up so mailbox providers learn to trust them.

    SMTP ports: 25, 465, 587, and 2525

    The port tells the server which connection to use. Four are common:

    Port Use Notes
    25 Server-to-server relay The original port; blocked by most ISPs for client submission because spammers abuse it
    587 Client submission (recommended) The modern default, used with STARTTLS encryption
    465 Secure submission (SSL/TLS) Older and technically deprecated, but still widely supported
    2525 Alternative submission Unofficial fallback when 587 is blocked; supported by most providers

    For sending from an app or client, use 587. Reserve 25 for relaying between mail servers. Our ports guide covers how these fit alongside the receiving protocols.

    SMTP vs IMAP and POP3

    Differences between SMTP, IMAP, and POP3

    These three protocols split the email cycle between them:

    • SMTP sends and relays outgoing mail.
    • IMAP retrieves incoming mail and leaves it on the server, so you can read it from any device.
    • POP3 retrieves incoming mail and typically downloads and removes it from the server, tying it to one device.

    When you set up an email app, you enter your provider's SMTP server to send and their IMAP or POP server to receive. They are complementary, not alternatives.

    Why SMTP matters for deliverability

    SMTP port 587 submission diagram

    SMTP moves your mail, but it does not guarantee the recipient's server will accept it. That decision comes down to authentication, sender reputation, and the quality of the address you are sending to. SMTP will happily attempt delivery to an address that does not exist, and the result is a hard bounce that hurts your reputation.

    That is why verification sits alongside SMTP in a healthy sending setup: verifying an address before you send confirms the mailbox is real, so SMTP is not wasting attempts (and your reputation) on dead addresses. SMTP handles the transport; clean data and authentication decide whether the transport succeeds.

    Common questions about SMTP

    What is SMTP used for?

    SMTP is used to send and relay outgoing email between servers. Your email client uses it to hand a message to your provider's SMTP server, which routes it to the recipient's mail server. It is not used to read or download received mail, which is IMAP or POP3's job.

    How do I find my SMTP server?

    Your SMTP server address comes from your email provider and usually follows the pattern smtp.provider.com (for example, smtp.gmail.com for Gmail). You will find it in your provider's help documentation under outgoing mail or SMTP settings, along with the port and encryption to use.

    What is the difference between SMTP and an SMTP server?

    SMTP is the protocol, the set of rules for sending mail. An SMTP server is the software that implements those rules to actually send and relay your outgoing messages. In everyday use, "SMTP server" means your outgoing mail server.

    Which SMTP port should I use?

    Use port 587 with STARTTLS for sending from an email client or app, as it is the modern recommended default. Port 25 is for server-to-server relay and is usually blocked for submission, and 465 is an older secure port that still works but is deprecated.

    B

    BounceCheck Team

    The team behind BounceCheck - helping businesses verify emails and improve deliverability.

    • What is SMTP?
    • How SMTP works
    • What is an SMTP server?
    • SMTP ports: 25, 465, 587, and 2525
    • SMTP vs IMAP and POP3
    • Why SMTP matters for deliverability
    • Common questions about SMTP
    • What is SMTP used for?
    • How do I find my SMTP server?
    • What is the difference between SMTP and an SMTP server?
    • Which SMTP port should I use?

    More Articles

    Explore guides on email deliverability, verification, and sender reputation.

    Browse All Articles

    § KEEP READING

    You might also like.

    The Best Email Deliverability Tools for Every Job (2026)
    § Email DeliverabilityJul 2, 2026· 5 min read

    The Best Email Deliverability Tools for Every Job (2026)

    The best email deliverability tools grouped by what they do, from inbox placement testing and authentication checks to list verification, warm-up, and free ISP monitoring.

    By BounceCheck TeamRead →
    What Is Mailinator? Disposable Email and Testing Explained
    § Email DeliverabilityJul 2, 2026· 5 min read

    What Is Mailinator? Disposable Email and Testing Explained

    Mailinator is a public, receive-only disposable email service used to test email and SMS workflows. Here is how it works, what it is used for, whether it is private, and the risk of disposable signups.

    By BounceCheck TeamRead →
    SendGrid Email Validation: How It Works, Pricing, and Accuracy
    § Email DeliverabilityJul 2, 2026· 5 min read

    SendGrid Email Validation: How It Works, Pricing, and Accuracy

    SendGrid email validation is a feature of the SendGrid Email API that flags invalid and risky addresses in real time or in bulk. Here is how it works, pricing, accuracy, and when a dedicated verifier fits better.

    By BounceCheck TeamRead →

    § COLOPHON

    Email verification, made simple. Built for teams who care about clean data and clean code.

    § STATUS

    All systems operational
    BounceCheckBounceCheck

    Real-time email verification with a stealth SMTP engine. Built for deliverability obsessives.

    § PRODUCT

    • Features
    • Bulk Email Verification
    • Single Verify
    • Real-Time API
    • Integrations

    § TOOLS

    • Email Extractor
    • Disposable Email Checker

    § RESOURCES

    • Docs
    • Blog
    • Compare
    • Security
    • Pricing

    § COMPANY

    • About
    • Contact
    • Privacy
    • Terms

    © 2026 BounceCheck — All rights reserved.

    GDPRCCPAENCRYPTEDPRIVATE