DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
No Result
View All Result
DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
DroidCrunch

IMAP vs POP3 vs SMTP: How Email Protocols Work 2026

Lokesh Kapoor by Lokesh Kapoor
December 5, 2026
3
0

You set up your work email on a new laptop, and suddenly your phone’s inbox is empty. Or you file an email into a folder on your phone, and your desktop never sees it.

Both come down to one setting: IMAP or POP3. We ran our own mail server, sent it messages over SMTP, then connected an IMAP “phone” and a POP3 “desktop” to one mailbox.

The POP3 client emptied the inbox for every other device in one sync. Here’s how each email protocol works and which one to choose.

IMAP vs POP3 vs SMTP: the short answer

SMTP sends email. IMAP and POP3 fetch it. You always need SMTP plus one of the other two.

  • SMTP (Simple Mail Transfer Protocol) moves mail from your app to your mail server, and from server to server across the internet.
  • IMAP (Internet Message Access Protocol) lets your apps view and manage mail that stays on the server, so every device stays in sync.
  • POP3 (Post Office Protocol version 3) downloads mail to one device, usually deleting it from the server afterwards.
SMTPIMAPPOP3
JobSends mailReads mail on the serverDownloads mail to one device
Mail stays on servern/aYesUsually deleted
Syncs across devicesn/aYesNo
Sees foldersn/aYesInbox only
Secure port587 or 465993995
Best forEvery accountAlmost everyoneOne-device archives
You always pair SMTP for sending with either IMAP or POP3 for receiving.

Our test: one mailbox, three protocols

We set up a mail server on our test machine: Dovecot for IMAP and POP3, plus a small SMTP server that delivered into the same mailbox. Then we scripted the clients so every step was repeatable.

StepWhat we didWhat happened
1Sent 3 emails over SMTPServer replied 250, accepted for delivery
2IMAP laptop opened 1 email and filed it in a new folderChange saved on the server
3IMAP phone connected3 messages, 2 unread, Receipts folder visible
4POP3 desktop downloaded and deletedSaw 3 inbox messages, no folders
5IMAP phone checked again0 messages in the inbox
6POP3 with leave-a-copy, 3 new emailsAll 3 kept, but all marked read
Dovecot 2.4 for IMAP and POP3, a Python SMTP server for delivery, scripted clients on the same machine.

SMTP: sending the messages

We sent three emails over SMTP: an invoice, a lunch invite and a login code. SMTP’s only job was to hand them to the server and get back “250 Message accepted for delivery”. It never shows you an inbox, because receiving isn’t its job.

IMAP: two devices, one inbox

Our “laptop” connected over IMAP, opened the invoice, created a folder called Receipts and filed a copy there.

Then our “phone” connected over IMAP. It saw all 3 messages, with 2 unread. The read status set on the laptop had already synced, because IMAP keeps that state on the server. The Receipts folder was there too.

How IMAP works: a laptop and phone both showing the same mailbox stored on the server
From our test: the phone saw the laptop’s read status and new folder straight away, because IMAP stores both on the server.

POP3: download and delete

Then a “desktop” connected over POP3, using the classic default of downloading messages and removing them from the server.

POP3 saw 3 messages in the inbox and nothing else. It has no idea folders exist. It downloaded all three and deleted them from the server.

When the phone checked again over IMAP, its inbox showed 0 messages. That’s the vanishing-email problem in one step. Only the copy filed in Receipts survived, because POP3 never touches folders.

POP3 with “leave a copy on server”

Most mail apps offer a “leave a copy of messages on the server” option for POP3. We sent three new messages and downloaded them that way.

All three stayed on the server, but the IMAP phone then showed 0 unread. The POP3 download had marked them as read on the server, even though nobody on the phone had opened them. Leaving a copy prevents deletion, not confusion.

POP3 vs IMAP: after a POP3 desktop downloaded and deleted mail, the IMAP phone showed an empty inbox
The POP3 desktop took all three emails and deleted them from the server. The IMAP phone’s inbox went from 3 to 0.

What the protocols actually say

Email protocols are plain text conversations, which makes them easy to watch. Here’s the full SMTP exchange when we sent one message to our test server by hand:

smtp-session.txt Plain text
S: 220 localhost Python SMTP 1.4.6
C: EHLO laptop.lab.test
S: 250-localhost
S: 250-SIZE 33554432
S: 250-8BITMIME
S: 250-SMTPUTF8
S: 250 HELP
C: MAIL FROM:<[email protected]>
S: 250 OK
C: RCPT TO:<[email protected]>
S: 250 OK
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: (headers, body, then a line with a single dot)
S: 250 Message accepted for delivery
C: QUIT
S: 221 Bye

Every reply starts with a three-digit code. 2xx means success, 3xx means “go on”, 4xx is a temporary failure and 5xx is permanent. When a mail app shows “550 mailbox unavailable” or “535 authentication failed”, that’s the server’s SMTP reply passed straight through.

IMAP and POP3 have their own short command sets. You’ll never type them, but knowing they exist explains how each one behaves:

JobIMAP commandPOP3 command
Log inLOGINUSER and PASS
Count messagesSELECT INBOXSTAT
Download a messageFETCHRETR
Headers onlyFETCH with header fieldsTOP n 0
Search on the serverSEARCHNone
FoldersCREATE, LIST, COPYNone
Read, flagged, answeredSTORE flagsNone
Wait for new mailIDLENone
DeleteSTORE \\Deleted, then EXPUNGEDELE

The gap in that table is the whole story. POP3 has no command for folders, flags or searching. It can list, download and delete. Everything else IMAP does, POP3 simply can’t express.

The attachment test: what each protocol downloads

To see the bandwidth difference, we sent a message with a 2 MB attachment and two short notes, then synced the inbox both ways.

What the app didData transferredTime
IMAP: sync headers for 4 messages229 bytes4 ms
IMAP: open the big email’s text17 bytesInstant
IMAP: search subjects for “invoice”Only the match number0.3 ms
POP3: normal download of 4 messages2,870,808 bytes23 ms
POP3: headers only with TOP598 bytesInstant
Local test server, so times are far faster than over the internet; the byte counts are what matter

IMAP fetched the sender, subject and date of all four messages in 229 bytes. Opening the text of the big message took another 17 bytes. The attachment stayed on the server until someone tapped it.

POP3’s normal sync pulled down 2.87 MB, every byte of every message. On a phone with limited data, or a laptop on hotel Wi-Fi, that’s the difference between a quick check and a long wait.

Notice the size jump too. The 2 MB file became a 2.87 MB message, because email encodes attachments as text (base64), which adds about 37%. That’s why a 20 MB file can bounce off a provider with a 25 MB limit.

POP3 does have a TOP command that fetches headers only. In our test, it got all four headers in 598 bytes. Few mail apps use it, though, and it can’t fetch one part of a message later the way IMAP can.

Push email: how IMAP delivers new mail instantly

IMAP has a command called IDLE. Your app opens a connection, says “tell me when something changes”, and waits. When new mail lands, the server pushes a notice down that open line.

We timed it. Our IMAP client sat in IDLE while a script delivered a new message over SMTP. The client received * 5 EXISTS, the server’s way of saying “the inbox now has five messages”, 506 milliseconds after delivery.

POP3 has nothing like it. A POP3 app has to log in and ask on a timer, often every 5 to 15 minutes. That’s why POP3 accounts feel slow: the mail arrived, but your app hasn’t asked yet.

Why sent mail doesn’t show on your other devices

Here’s a problem IMAP users hit all the time: you send an email from your laptop, and it’s missing from the Sent folder on your phone.

Our test showed why. After sending messages over SMTP, our mailbox had one folder, INBOX. SMTP delivers mail to the recipient; it doesn’t keep a copy for you.

The Sent folder is your mail app’s job. After sending over SMTP, a well-behaved app uploads a copy to the server’s Sent folder with the IMAP APPEND command. We did that by hand, and the copy appeared for every device.

So if sent mail is missing elsewhere, check two things. Is the account set up as IMAP, not POP3? And is the app’s Sent folder mapped to the server’s Sent folder, not a local one?

Gmail’s own servers save a copy of mail you send through them, so Gmail users rarely see this. Many hosting mailboxes rely on the app.

How IMAP deletes: flag first, then expunge

Deleting over IMAP is a two-step process, and it explains a lot of odd behaviour.

StepMessages in inboxMarked deleted
Before50
After flagging one \\Deleted51
After EXPUNGE40

When we deleted a message, the inbox still held all five. One was simply flagged \Deleted. Only after the EXPUNGE command did it actually go, leaving four.

Most modern apps do both steps at once, or move the message to Trash instead. Some older setups, including certain Outlook and Thunderbird settings, show deleted messages with a line through them until you “compact” or “purge” the folder. That isn’t a bug; it’s the first step without the second.

How SMTP works

SMTP is the delivery truck of email. When you hit Send:

  1. Your mail app connects to your provider’s SMTP server and logs in.
  2. The server looks up the recipient domain’s MX record in DNS to find which server accepts its mail.
  3. It hands the message to that server over SMTP.
  4. The receiving server checks SPF, DKIM and DMARC, then files the message in the recipient’s mailbox.

From there, the recipient’s apps fetch it with IMAP or POP3. If your messages land in spam, the problem is usually in step 4, which our guides to SPF, DKIM and DMARC and email deliverability cover.

SMTP ports

You’ll be asked for an SMTP port when setting up a mail app or a website form:

  • 587: the standard port for sending mail from apps, with STARTTLS encryption. Use this by default.
  • 465: SMTP over TLS from the first byte. Also secure, and many providers support it.
  • 25: the port servers use to talk to each other. Many ISPs and cloud hosts block it for regular users to stop spam.

How IMAP works

With IMAP, the server is the master copy. Your apps show a live view of it and send every change back: read, unread, flagged, moved, deleted.

That’s why our phone saw the laptop’s changes instantly. It’s also why IMAP uses server storage: every email and attachment stays there until you delete it.

IMAP uses port 993 with TLS encryption. Plain port 143 exists but shouldn’t be used without encryption.

How POP3 works

POP3 comes from the dial-up days, when you connected briefly, grabbed your mail and disconnected. It treats the server as a temporary holding area.

Your app downloads new messages from the inbox, then usually deletes them from the server. After that, the email lives only on that one device. Lose the laptop without a backup, and the mail is gone.

POP3 uses port 995 with TLS encryption, or 110 without it.

IMAP vs POP3: which should you use?

Use IMAP in almost every case. If you read email on more than one device, or you want folders, flags and read status to stay in sync, IMAP is the only option that works. It’s what Gmail, Outlook.com, Zoho and nearly every hosting provider recommend.

Use POP3 only for narrow cases:

  • Your server storage is tiny and you need to clear it.
  • You want a local-only archive on one computer, and you back it up.
  • An old app or device supports nothing else.

If you must use POP3 alongside other devices, turn on “leave a copy on server”, and expect read status to get muddled.

How to switch from POP3 to IMAP

You can’t change an existing account’s protocol in most mail apps. You add the account again:

  1. Back up first if POP3 has been deleting mail, because those messages exist only on that device.
  2. Add the account again in your mail app and pick IMAP, with port 993 and SSL/TLS.
  3. Set SMTP to port 587 with STARTTLS, or 465 with SSL.
  4. Check that folders and mail appear, then remove the old POP3 account.

To move old POP3 mail back to the server, drag it from the local folders into the IMAP inbox.

IMAP isn’t a backup

IMAP’s biggest strength has a catch. Because every device mirrors the server, a mistake on one device happens everywhere. Delete a folder on your phone, and it’s gone from your laptop seconds later. Our delete test showed the server’s count drop from five to four for every connected client at once.

That makes IMAP great for convenience and poor as a safety net. If the mailbox gets wiped, hacked or hits a provider error, every synced copy follows.

A sensible setup keeps IMAP for daily use and adds one real backup:

  • Export the mailbox now and then. Most webmail and hosting panels offer an export or archive download.
  • Copy important folders into local folders in a desktop app like Thunderbird. Local folders don’t sync, so they survive a server deletion.
  • Use a migration tool such as imapsync when moving hosts, so nothing relies on one copy during the switch.

This is also the one honest argument for POP3. A POP3 download to one backed-up computer is a separate copy. It’s just a poor way to read mail day to day.

How to set up IMAP by hand in any mail app

Most apps fill in settings automatically. When they don’t, or when they pick POP3, use manual setup:

Manual IMAP setup

The same fields appear in Outlook, Thunderbird, Apple Mail and Android mail apps.

  1. 1
    Step 1 of 5

    Choose manual or advanced setup

    Start adding the account, then pick the option for manual, advanced or other account. Choose IMAP when asked for the account type.

  2. 2
    Step 2 of 5

    Enter the incoming server

    Use your provider’s IMAP hostname, port 993 and SSL/TLS. The username is usually your full email address.

  3. 3
    Step 3 of 5

    Enter the outgoing server

    Use the SMTP hostname, port 587 with STARTTLS or 465 with SSL/TLS, and turn on authentication with the same username.

  4. 4
    Step 4 of 5

    Sign in

    Use the provider’s sign-in window if one appears. If the app only asks for a password, create an app password in your account’s security settings.

  5. 5
    Step 5 of 5

    Map the special folders

    In the account settings, point Sent, Drafts and Trash at the server folders so every device shares them.

If the test fails, check the error against the table above before changing more than one setting.

Server settings for popular email providers

These are the standard settings for common providers. Many now require you to sign in through the provider’s own login screen (OAuth) or to create an app password, rather than typing your normal password into the mail app.

ProviderIMAPSMTPPOP3
Gmailimap.gmail.com : 993smtp.gmail.com : 587 or 465pop.gmail.com : 995
Outlook.comoutlook.office365.com : 993smtp-mail.outlook.com : 587outlook.office365.com : 995
Yahoo Mailimap.mail.yahoo.com : 993smtp.mail.yahoo.com : 465 or 587pop.mail.yahoo.com : 995
iCloud Mailimap.mail.me.com : 993smtp.mail.me.com : 587Not offered
Zoho Mailimap.zoho.com : 993smtp.zoho.com : 465 or 587pop.zoho.com : 995
Hostinger emailimap.hostinger.com : 993smtp.hostinger.com : 465pop.hostinger.com : 995
Zoho accounts in India use the .in versions, such as imap.zoho.in

Your own domain’s email works the same way, with the server names your host gives you. If you’re not sure which provider handles your mail, look up your domain’s MX record. Our guide to how DNS works explains what that lookup returns.

Common email setup errors and how to fix them

Error or symptomLikely causeFix
535 authentication failedWrong password, or the provider needs an app passwordCreate an app password or use the OAuth sign-in
Can’t connect on port 25ISP or cloud host blocks itUse 587 with STARTTLS or 465 with SSL
Certificate warning on connectServer name doesn’t match the certificateUse the provider’s exact hostname
Inbox empty on other devicesA POP3 client deleted the mailSwitch every device to IMAP; recover from the POP3 device
Duplicate messagesPOP3 with leave-a-copy on several devicesMove all devices to IMAP
Sent mail missing elsewhereApp saves sent copies locallyMap Sent to the server folder over IMAP
Deleted mail shows struck throughIMAP flag set, no expungePurge or compact the folder, or move to Trash
552 message size exceeds limitAttachment too big after encodingShare a link instead of attaching

Most of these come down to the wrong port, the wrong encryption setting, or a provider that wants an app password. Change one setting at a time, so you know which change fixed it.

Beyond IMAP: Exchange, ActiveSync and JMAP

IMAP isn’t the only way to read mail. Microsoft 365 and Outlook use Exchange protocols, which sync mail, calendar and contacts together, and phones often connect through Exchange ActiveSync. If your work account is on Microsoft 365, the Outlook app will usually pick Exchange over IMAP on its own.

JMAP is a newer open standard that does IMAP’s job over a modern web API, with push built in. Fastmail uses it, but few other providers do yet.

For a personal or small-business mailbox on a host like Zoho, Hostinger or Google Workspace, IMAP plus SMTP remains the setup that works with every app.

Where SMTP services fit in

Your mailbox provider’s SMTP server is fine for everyday email. For bulk or automated mail, such as newsletters, password resets and order confirmations, businesses use a dedicated sending service with better deliverability tools and higher limits.

Heads-up: our SendGrid and Brevo links are affiliate links. If you buy through them, DroidCrunch earns a commission at no extra cost to you.

SendGrid is a popular SMTP and email API service for developers sending app notifications, and our SendGrid review covers its plans. Brevo combines marketing email with a transactional SMTP relay; see our Brevo review. If you’re sending cold outreach, our guide to building a cold email outreach system explains why you should keep it off your main domain.

Frequently asked questions

Is Gmail IMAP or POP3?

Gmail supports both, but its own apps and most third-party mail apps use IMAP by default. You can turn POP download on in Gmail’s settings under Forwarding and POP/IMAP. If you add Gmail to Outlook or Apple Mail, choose IMAP so your mail stays in sync with your phone.

Do I need SMTP if I use IMAP?

Yes. IMAP only reads and manages mail on the server; it can’t send anything. Every mail app needs SMTP settings for outgoing mail too. Most providers use the same server name for both, with port 993 for IMAP and 587 or 465 for SMTP.

What is an SMTP server?

An SMTP server is the mail server that accepts outgoing email from your app and passes it on toward the recipient’s server. Your email provider runs one, and services like SendGrid or Brevo offer SMTP relays for sending bulk or automated mail from websites and apps.

Is IMAP more secure than POP3?

Neither is more secure by design; both are safe when encrypted with TLS on ports 993 and 995. The difference is where mail lives. IMAP keeps it on your provider’s server, while POP3 moves it to your device, where your own backups and disk encryption protect it.

Why are my emails disappearing from my phone?

Usually because another device uses POP3 and deletes messages after downloading them. In our test, one POP3 sync emptied the inbox for an IMAP phone. Switch every device to IMAP, or set the POP3 client to leave a copy on the server.

Can I use IMAP and POP3 at the same time?

Yes, on the same account, but it gets messy. As our test showed, a POP3 client can delete mail other devices need, and even with a copy left on the server it can mark messages read. Pick IMAP everywhere unless you have a specific reason.

What port should I use for SMTP?

Use port 587 with STARTTLS for sending from mail apps and websites. Port 465 with SSL also works with most providers. Avoid port 25 for app sending; it’s meant for server-to-server delivery, and many ISPs and cloud hosts block it.

Can I get back emails that POP3 deleted from the server?

Usually only from the device that downloaded them. Open that mail app, find the messages in its local inbox, and drag them into an IMAP folder to upload them again. Some providers keep deleted mail for a few days, so check the webmail Trash or a restore option too.

Does IMAP work offline?

Yes. Most mail apps keep a local copy of recent messages, so you can read and write offline. Changes like moving or deleting are queued and sent to the server when you reconnect. What you can’t do offline is open messages or attachments the app never downloaded.

The bottom line

SMTP sends, IMAP and POP3 receive. In our test, IMAP kept two devices perfectly in sync, while a single POP3 download emptied the inbox for everyone else and ignored folders entirely.

For almost everyone, the right setup is IMAP on port 993 for receiving and SMTP on port 587 for sending. Keep POP3 for a single-device archive you back up.

If your mail ever vanished from one device after setting up another, now you know why.

Summarize this article with AI

Get the key points in seconds. Pick an assistant and it opens in a new tab, ready to go.

ChatGPTClaudePerplexityGoogle AIGrokMistral

Opens in a new tab. Nothing is shared until you pick an assistant.

Share4Tweet2Share1Share
Previous Post

What Is a CRM System? How CRM Software Works, With Examples 2026

Lokesh Kapoor

Lokesh Kapoor

I am Lokesh Kapoor who loves to write blogs, create videos and watch sci-fi movies on Netflix and Jio Cinema. DroidCrunch is my first love and a crucial part of my life.

Related Posts

What is a CRM system: title card showing a CRM pipeline with deal cards and a linked contact card

What Is a CRM System? How CRM Software Works, With Examples 2026

December 5, 2026
298
SaaS pricing models: price cards for per-seat, tiered and usage-based plans

SaaS Pricing Models Explained: Freemium, Per-Seat and Usage-Based, With Real Prices 2026

December 5, 2026
298
YouTube monetization requirements: a creator's desk with a laptop showing subscriber and watch hour progress bars

YouTube Monetization Requirements: What You Need to Join YPP 2026

December 4, 2026
301
Can AI art be copyrighted: an AI-generated painting on an easel beside a copyright seal and a gavel

Can AI Art Be Copyrighted? Commercial Use Rules for AI Images 2026

December 4, 2026
298
Load More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

DroidCrunch

Tested first. Then written.

Independent software reviews since 2016. Search the archive, or start with a topic.

WordPressAI toolsHostingVPNSEO
  • 660+reviews, comparisons and guides
  • 243product reviews
  • 36topics covered
  • 2016publishing since
home

An independent tech blog and YouTube channel. We use every tool before we rate it, and we always tell you the catch.

Topics

  • WordPress
  • AI tools
  • Hosting
  • SEO
  • VPN
  • Proxies
  • Automation

Company

  • About DroidCrunch
  • Editorial policy
  • Affiliate disclaimer
  • Write for us
  • Contact

Explore

  • All articles
  • Reviews
  • Deals and coupons
  • Facebook group
  • Help and support

Recently scored

  • miniOrange Secure MCP Server75%
  • Royal MCP80%
  • WPVibe76%
  • Zapier82%
All reviews

Reader-supportedWhen you buy through our links, we may earn a commission at no extra cost to you. It never changes our verdicts. Read our affiliate disclaimer.

© 2026 DroidCrunch. Independent since 2016.

  • Privacy policy
  • Terms
  • Cookie policy
  • Your GDPR rights
  • RSS
Back to top

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
Subscribe
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact

© 2026 DroidCrunch - Best Place for Tech NomadPrivacy PolicyTerms & ConditionsCookie PolicyGDPR RightsAffiliate Disclosure

DroidCrunch Giveaway

Amazon Gift Card worth $15

Participate now and get a chance to become a lucky winner to receive the reward.​

Join Giveaway