IMAP vs SMTP

SMTP and IMAP are separate protocols handling opposite directions of email. Submission and relay of outgoing mail belong to SMTP, defined in RFC 5321, while retrieval and synchronisation of mail already in a mailbox belong to IMAP, defined in RFC 9051.

VerifiedBy Kam Low, Co-founder·Updated

Core differences

Function separates them most clearly. SMTP pushes a message from a client to a server, and between servers, until it reaches the recipient's mail system. IMAP pulls messages from a mailbox to a client and keeps the two in step.

Their roles follow from that. SMTP is the outbox path and ends the moment a receiving server accepts the message. IMAP is the inbox path and begins after delivery has already happened.

State handling is the difference with practical consequences. SMTP is stateless with respect to the message once transmitted, so it has no concept of read, unread, filed or deleted. IMAP maintains exactly that state on the server, which is why the same mailbox looks identical on a phone and a laptop.

SMTP · sending
587 / 465
message handed over
client to server
state: "server accepted"
SMTP's interest ends here
state ends here, nothing to sync afterwards
IMAP · the mailbox
993
device A
State lives here
mailbox on the server
folders flags read status
device B
mark it read on one device, it is read on both
SMTP forgets the message the moment the server accepts it; there is nothing left to sync. IMAP keeps folders, flags and read status on the server, so every device reads the same state.

Ports differ accordingly. SMTP submission uses 587 with STARTTLS or 465 with implicit TLS. IMAP uses 993 with implicit TLS, or 143 with STARTTLS.

A mail client needs both configured. One set of settings sends, the other receives, and a client with only outgoing settings will send successfully while showing an empty inbox.

POP3 as the alternative to IMAP

POP3 is the older retrieval protocol, in RFC 1939, and it downloads messages rather than synchronising them.

The distinction matters when more than one device is involved. POP3 traditionally removes messages from the server after download, so a message read on a laptop may never appear on a phone. IMAP leaves the authoritative copy on the server and mirrors it everywhere.

POP3 uses port 995 with implicit TLS, or 110 with STARTTLS. It remains reasonable for a single-device setup that wants local copies, and it is the wrong choice for anything else.

Server settings in a mail client

Configuration is two blocks. The outgoing block takes the SMTP host, port and security mode, and its incoming counterpart takes the IMAP or POP3 equivalents.

Provider hostnames follow a convention rather than a rule: smtp.provider.com for sending, imap.provider.com for retrieval. The values come from the provider's own documentation, since they vary and a guessed hostname fails at connection.

Authentication is required on both, and most major providers now issue application-specific passwords rather than accepting an account password from a third-party client.

Why this distinction matters for sending applications

An application that sends email needs SMTP or an HTTP API, and needs IMAP for nothing at all. Confusion between the two produces integrations that request mailbox access for a system that only ever transmits.

The exception is a system that must read replies, such as a support tool threading conversations or a sequence tool detecting responses. That is genuinely an IMAP or provider-API job, and it is a different product from sending.

We keep a fuller walkthrough of how the two protocols pair up in a mail client in our IMAP and SMTP settings guide, because most configuration mistakes come from mixing up which of the two a given integration actually needs.

Worth stating the boundary plainly for this topic: Nitrosend does not do inbound mail. There is no receiving, no parsing, and no mailbox read or write. Reading a mailbox means Gmail's API, Microsoft Graph, or IMAP directly.

Go deeper

First send in thirty seconds.

Simple pricing. Unlimited contacts.

Every plan includes full stack emailing: Flows, Newsletter Campaigns and Transactional Email, plus our NitroWheel LLM and all agent integrations (Claude, ChatGPT, Codex, Cursor and others). Pay for what you send, not who you store.

Free
$0
forever
  • Emails 8,000then 500/mo
  • Email types Transactional & Marketing
  • AI actions 20/mo
  • Contacts Free & Unlimited
  • Brands 3 · Custom domain 1
  • Seats 1
  • Recipients / rolling 24h 100–5,000
  • Email validation Prepaid only
Start free
Ultra
$100
per month
  • Emails 125,000/month
  • AI actions 5,000/mo
  • Brands 10 · Domains 10
  • Seats 10
  • Frontier AI Included
  • Dedicated IP Available
  • Recipients / rolling 24h 1,000–625,000
  • Email validation Prepaid only
Get started
Enterprise
$300
per month
  • AI actions Unlimited
  • Unlimited brands & domains Included
  • SSO / SAML Included
  • 99.9% SLA Included
  • Recipients / rolling 24h Contracted
  • Email validation Prepaid only
Get started

Daily allowances depend on your plan and sender standing. Strong list, domain and delivery evidence can raise standing, including on day one. Trusted receives the full plan allowance; available email credits, safety checks and delivery pacing still apply.

Free forever. No credit card required. See full comparison →