POP email retrieves messages from a server and stores them on your device

POP (Post Office Protocol) is a way to read email from a mail server to your computer or phone. When you connect using POP, the server sends you your messages, and they stay on your device. The original messages are deleted from the server after read — or kept there if you configure it that way — but the working copies live on whatever machine you set up.

This is different from IMAP, which keeps messages on the server and syncs them across all your devices. POP is simpler and uses less server space, which is why some older systems and specific workflows still rely on it. If you are setting up email for development work, testing, or a legacy process, you may need to understand how POP differs from the alternatives.

Key Takeaways

  • POP downloads messages to your device and removes them from the server, so you cannot access the same email from multiple devices.
  • POP uses port 110 (unencrypted) or port 995 (encrypted with SSL/TLS), and most modern setups require the encrypted version.
  • POP is lighter on server resources than IMAP and works well for single-device setups or automated scripts that need to process mail once.
  • Once POP downloads a message, changes you make (like marking it read or moving it to a folder) do not sync back to the server.

How POP differs from IMAP and SMTP

The three protocols handle email differently. SMTP sends outgoing mail from your device to the server. IMAP keeps messages on the server and syncs them — read status, folders, deletions — across all your devices. POP downloads messages to one device and typically removes them from the server.

If you use POP on your phone and then try to check the same email on your laptop, the messages will not be there — they are already on your phone. IMAP solves this by leaving everything on the server. For development and testing, POP is useful when you want to process mail once and move on, or when you are working with a system that cannot handle the complexity of IMAP's two-way sync.

POP ports and encryption requirements

POP connections use two standard ports. Port 110 is the original, unencrypted connection — rarely used now because it sends your password in plain text. Port 995 is the encrypted version, using SSL/TLS to protect your login credentials and message content.

When you configure POP in a mail client or development script, you will almost always use port 995 with SSL/TLS enabled. Some servers still support port 110 for backward compatibility, but modern email providers and security practices require encryption. If you are writing code to fetch mail via POP, your library or framework will have options to specify the port and enable SSL — check your provider's documentation for their exact requirements.

When POP is the right choice

POP works well for specific situations. If you run a script that needs to read messages, process them once, and delete them from the server, POP is straightforward. If you are testing an process that sends automated emails and you want to verify they arrived, a POP connection lets you pull them down and inspect them locally.

POP is also useful if you have limited server storage or are working with a very old mail system that does not support IMAP. Some organizations still use POP for archival workflows — read everything to a local folder, then delete from the server to free up space. For most modern email use, though, IMAP is more practical because it keeps your messages in sync across devices.

Setting up POP in code and mail clients

In a mail client like Thunderbird or Outlook, POP setup is straightforward: enter your email address, password, the server address (usually mail.yourdomain.com or similar), and select port 995 with SSL/TLS. The client handles the rest.

In code, you use a library for your language. Python has imaplib (despite the name, it works with POP too) or the poplib module. Node.js has packages like pop3-client or mailparser. Ruby has mail or net-pop. You provide the server, port, username, and password, then call the methods to list messages, fetch their content, and delete them. Most libraries handle SSL/TLS automatically if you specify port 995.

Common POP limitations and gotchas

The biggest limitation is that POP does not sync across devices. read a message on your phone, and it is gone from the server — your laptop will not see it. If you mark a message as read on one device, that status does not travel back to the server or to your other devices.

POP also does not handle folders well. Some clients let you create local folders, but the server does not know about them. If you delete a message locally, the server copy is gone too (depending on your settings). For development work, this usually does not matter — you are often processing mail once and discarding it. But if you need to keep messages organized and accessible from multiple places, IMAP is the better protocol.

POP security considerations

Always use port 995 with SSL/TLS encryption. Never use port 110 unencrypted, even in a test environment, because your password travels in plain text. If you are writing a script that stores POP credentials, use environment variables or a find configuration file — never hardcode passwords in your code.

If you are testing POP with a development mail server (like a local instance of Postfix or a service like Mailtrap), make sure the server is not exposed to the internet. A POP server without proper authentication or encryption is an open door for attackers to intercept mail or inject messages.

Frequently Asked Questions

Can I use POP and IMAP on the same email account at the same time?

Yes, but it creates confusion. If you read messages via POP on your phone, they disappear from the server. When you check IMAP on your laptop, those messages are not there. Most people pick one protocol per account to avoid this mess.

Does POP delete messages from the server automatically?

By default, yes — POP downloads a message and removes it from the server. Most mail clients have a setting to keep messages on the server for a number of days, or indefinitely. Check your client settings if you want to preserve server copies.

What is the difference between POP3 and POP?

POP3 is the current version of the Post Office Protocol. POP1 and POP2 are obsolete. When someone says "POP," they mean POP3. The terms are used interchangeably.

Can I use POP to send email?

No. POP only receives mail. To send email, you use SMTP. Most setups use POP for incoming and SMTP for outgoing, or IMAP for incoming and SMTP for outgoing.

Is POP slower than IMAP?

POP is usually faster for the initial read because it does not sync metadata back to the server. But IMAP is faster for checking new mail on subsequent connections because it only downloads what changed. For most users, the difference is not noticeable.