Home โ€บ CCNA โ€บ Master SMTP, POP, and IMAP for Seamless Email Success (Updated 2025)
A diagram illustrating the email communication process between a Client, SMTP Server-1, and SMTP Server-2. The Client sends an email to admin@networkustad.com, with an arrow showing the message transmitted to SMTP Server-1. An arrow from SMTP Server-1 to SMTP Server-2 indicates forwarding if the recipient is not local, with TLS 1.3 encryption highlighted in green, and a return arrow shows undeliverable message feedback.

Master SMTP, POP, and IMAP for Seamless Email Success (Updated 2025)

Email is one of the primary services running on the Internet. So, what application, protocol, and services are required for email? The email server stores email messages in a database. Email uses the store-and-forward method for sending and storing messages. Email clients communicate with the servers running mail services to send and receive email. The client-connected server communicates with other mail servers to transport messages from one domain to another.

When sending an email, the client does not communicate directly with another email client. However, both mail clients rely on the mail server to transport messages. The Email process uses three types of protocols: Simple Mail Transfer Protocol (SMTP), Post Office Protocol (POP), and Internet Messaging Access Protocol (IMAP). The application layer process sends mail using SMTP, but a client retrieves email using POP or IMAP.

Simple Mail Transfer Protocol (SMTP) Operation

The SMTP message format requires a message body with a message header. The body of the message can hold any amount of text; the message header must have a properly formatted recipient email address and a sender address.

When a client sends an email message, the client SMTP process connects with a server SMTP process on port 25. When the client and server set up a connection, the client tries to send the email message to the server. After the server receives the email message, it either places the message in a local account in case of the local recipient or forwards the message to another mail server for delivery.

If the destination email server is busy or not online, then the SMTP spool message will be sent later. The server periodically checks the queue and attempts to send messages again. If the message remains in the queue after its expiration time, it is returned to the sender as undeliverable.

A diagram illustrating the email retrieval process using POP and IMAP protocols. A Client connects to a POP Server on port 110, downloading an email from admin@networkustad.com with an arrow showing message removal after retrieval, and connects to an IMAP Server on port 143, syncing a copy of the email with TLS 1.3 encryption highlighted in green, with arrows indicating bidirectional data flow.

As shown in the figure, the client sends an email to admin@networkustad.com, which SMTP server-1 processes and forwards to SMTP server-2 if needed. The client sends an email to admin@networkustad.com,” aligning with the siteโ€™s domain for consistency. The SMTP server-1 receives the message and, if the recipient is not local, forwards it to SMTP server-2. POP server-1 handles retrieval for local accounts. Server-1 will check the recipientโ€™s list of local recipients. If found, the message will be placed on the local account. The message will be forwarded to the SMTP / POP server-2 if not found.

Post Office Protocol (POP) Operation

The POP server passively listens on TCP port 110 for client connection requests. When a client needs to use the POP service, it requests to start a TCP connection with the server. On establishing a connection, the POP server welcomes the client.

When the client and POP server set up a connection, both exchange commands and responses until the connection terminates. With POP, when clients download email messages, the server removes these messages.

The POP server has a temporary holding area for mail until it is downloaded to the clients. Because there is no central place for email message storage, it is not an attractive choice for a small business that needs centralized storage for backup.

A diagram illustrating the SMB connection and resource sharing process between a Client and Server. The Client initiates a request, with an arrow to DNS Resolution converting the server name to an IP address, followed by an SMB connection on port 445, and Resource Access to shared files and printers, with TLS 1.3 encryption highlighted in green

Internet Messaging Access Protocol (IMAP) Operation

The Internet Message Access Protocol (commonly known as IMAP) is another protocol that describes a technique for retrieving email messages from a remote mail server. An IMAP server usually listens on port 143, and IMAP over SSL is assigned port number 993. Unlike POP, when the user connects to an IMAP server, mail copies are downloaded to the client application.

The original messages are reserved on the server until the user explicitly deletes them. Users view copies of the messages in their email client software.

The server stores Incoming email messages in the recipientโ€™s email box. The user retrieves the messages with an email client that uses one of several email retrieval protocols. Most clients support the standard protocols, such as SMTP for sending an e-mail message and POP and IMAP for retrieving email.

The IMAP client can create a file hierarchy on the server to organize and store emails. When a user wants to delete a message, the server synchronizes that command and deletes the message from the mail server.

A diagram illustrating the email sending and retrieval process between a Client, SMTP Server, POP Server, and IMAP Server. The Client sends an email to admin@networkustad.com via the SMTP Server on port 25, with an arrow showing transmission and TLS 1.3 encryption in green. The POP Server on port 110 downloads the email with removal, while the IMAP Server on port 143 syncs a copy, with bidirectional arrows indicating data flow

Differences Between POP, SMTP, and IMAP

The following table summarizes the key differences between POP, SMTP, and IMAP regarding their functions, port numbers, security, email storage, syncing capabilities, offline access, message management, server load, everyday use cases, and examples of applications or services that utilize each protocol.

FeaturePOP (Post Office Protocol)SMTP (Simple Mail Transfer Protocol)IMAP (Internet Message Access Protocol)
PurposeRetrieve emails from a serverSend emails to a server for deliveryAccess emails stored on a server
Port Number11025143 (without SSL/TLS), 993 (with SSL/TLS)
SecurityPOP may use STARTTLS or POP3S (port 995) with TLS 1.3 for encryption as of 2025SMTP supports STARTTLS or SMTPS (port 465) with TLS 1.3 for secure transmissionIMAPS on port 993 with TLS 1.3
Email StorageDownloads emails to a local deviceDoes not store emailsLeaves emails on the server
SyncingGenerally does not sync emails across devicesDoes not sync emailsSynchronizes emails across multiple devices
Offline AccessProvides limited offline access to downloaded emailsDoes not provide offline accessProvides full offline access to emails
Message ManagementLimited capabilities for organizing messagesPrimarily focuses on sending messagesOffers extensive message management features
Server LoadRelatively low as emails are typically removed from the server after retrievalModerate, as it involves transferring emails to different serversRelatively high, as emails are stored and managed on the server
Common Use CasesUsed when internet connectivity is limited or sporadicEssential for sending emails from email clientsPreferred for accessing emails from multiple devices
ExamplesMicrosoft Outlook, Apple MailSendmail, PostfixGmail, Outlook.com, Mozilla Thunderbird

Conclusion – Email Protocols (SMTP, POP, and IMAP)

In summary, email protocols SMTP, POP, and IMAP form the backbone of modern email communication as of July 2025, each serving distinct yet complementary roles. SMTP ensures reliable message delivery with secure enhancements like TLS 1.3, while POP offers simple retrieval for single-device users, and IMAP provides advanced synchronization for multi-device access. Understanding these protocols empowers users to optimize their email experience, balancing security, storage, and accessibility. Dive deeper into these technologies on networkustad.com to enhance your networking and email management skills effectively.

FAQs

  • What is the role of SMTP in email communication?

    SMTP (Simple Mail Transfer Protocol) is used to send email messages from a client to a server and forward them to the destination server on port 25. It establishes a connection, transmits the message with a header and body, and queues it for retry if the recipient server is unavailable, ensuring delivery.

  • How does POP differ from IMAP in retrieving emails?

    POP (Post Office Protocol) downloads emails from the server to the client on port 110 and typically deletes them, suitable for offline access on one device. IMAP (Internet Message Access Protocol) on port 143 syncs emails across devices, keeping originals on the server until manually deleted.

  • What happens if an email cannot be delivered via SMTP?

    If the destination server is busy or offline, SMTP places the message in a queue and retries periodically. If the message exceeds its expiration time, it is returned to the sender as undeliverable, maintaining efficient mail flow.

  • Why is IMAP preferred for users with multiple devices?

    IMAP allows simultaneous access and synchronization of emails across multiple devices by keeping messages on the server, accessible via port 143 or 993 with SSL. This ensures users see the same email state everywhere, unlike POPโ€™s single-device focus.

About This Content

Author Expertise: 15 years of experience in NetworkUstad's lead networking architect with CCIE certification. Specializes in CCNA exam preparation and enterprise network…. Certified in: BSC, CCNA, CCNP

๐Ÿ† Your Progress

Level 1
๐Ÿ”ฅ 0 day streak
๐Ÿ“š
0 Articles
โญ
0 Points
๐Ÿ”ฅ
0 Current
๐Ÿ…
0 Best Streak
Level Progress 0 pts to next level
๐ŸŽ–๏ธ Achievements
๐Ÿฅ‰ Starter
๐Ÿฅˆ Reader
๐Ÿฅ‡ Scholar
๐Ÿ’Ž Expert

More from CCNA

Articles tailored to your interests in CCNA

Forum