TodayTools

Compare protocols

SMTP vs IMAP: sending email vs reading it

Donate
What brings you here?

The difference at a glance

SMTP

Simple Mail Transfer Protocol

Best for: Sending mail out

Hands your new mail to a server, which passes it on.
  1. Mail to Arun, from You
  2. 250 OK, from Mail server

IMAP

Internet Message Access Protocol

Best for: Reading mail in

Shows the mail waiting in your mailbox.
  1. Inbox?, from You
  2. Mail, from Mail server
  3. Mail, from Mail server

The short answer

SMTP sends email: your mail app hands a message to your provider, and servers pass it on to the recipient's server. IMAP reads email: your app looks into the mailbox on the server and syncs it. They are partners, not rivals. Every mail app uses SMTP to send and IMAP (or POP3) to read.

Which one fits you?

Tick everything that is true for you.

What do you need?

Your pick shows here

Tick one or more lines and we weigh them for you.

SMTP and IMAP side by side

SMTP vs IMAP: differences row by row
What differsSMTPIMAP
JobSend and relay mailRead and organise mail in a mailbox
DirectionPush: sender toward recipientPull: your app from your mailbox
Who talksApp to server, and server to serverOnly your app to your own mail server
Ports25 (server to server), 587 (STARTTLS), 465 (TLS)143 (STARTTLS), 993 (TLS)
Example commandsEHLO, MAIL FROM, RCPT TO, DATALOGIN, SELECT, FETCH, STORE
Stores mailNo, only queues it on the wayYes, in folders on the server
StandardRFC 5321RFC 9051

Watch each one work

Each page plays the real packets on a map, step by step, with every header explained.

Test yourself

Each line describes one of the two. Which one?

Question 1 of 7

Job

Send and relay mail

Questions people ask

Do I need both SMTP and IMAP?

Yes, for a normal mail app. SMTP sends, IMAP reads. Setup screens ask for an outgoing (SMTP) and an incoming (IMAP or POP3) server.

Which SMTP port should I use?

Use 587 with STARTTLS, or 465 with TLS from the start. Port 25 is for servers passing mail to each other and is often blocked for home users.

Can IMAP send email?

No. IMAP can save a copy in your Sent folder, but the message itself always leaves through SMTP.

Why does my mail send but not arrive?

SMTP got it out, but the receiving server may have rejected it or put it in spam, often because SPF, DKIM or DMARC checks failed.

More comparisons

Donate