Internet Message Access Protocol (IMAP)

author: Nathan Acks
date: 2022-04-03

IMAP commands are much more complicated than POP3. Some examples:

Here prefix is a random prefix we provide to track server replies to various commands. IMAP accepts a lot of different user authentication methods; LOGIN is just the simplest (and least secure).