IMAP
Internet Message Access Protocol is an Application Layer protocol for retrieving emails from a mail server like POP3. The main feature it has is that allows users to access and manage emails on the mail server without downloading them.
IMAP usually works on port 143 and port 993 for encrypted communication via SSL/TLS. The main features it has are:
Access and management of emails directly on the mail server
Supports multiple devices accessing the same mailbox
Helps with searching, flagging, and organizing emails into folders
Syncs information so server updates reflect on all devices
POP3 uses a series of commands to interact with mail servers. Some of them are:
LOGIN
: User's loginLIST
: Lists directoriesCREATE
: Create a mailboxDELETE
: Delete a mailboxRENAME
: Rename a mailboxSELECT INBOX
: Select a mailbox to access its messagesUNSELECT
: Exits the selected mailboxFETCH
: Retrieves data associated with a message in the mailboxCLOSE
: Removes all messages with the Deleted flagLOGOUT
: Close the connection
Last updated