IMAP4 Protocol

index

IMAP4 Commands Example IMAP4 Session For More Information

IMAP4 Commands

CommandSyntaxDescription
AUTHENTICATE a100 AUTHENTICATE method
+ challenge
response
+ challenge
response
Authenticates on the IMAP4 server via a secure authentication method.
LOGIN a100 LOGIN username password Authenitcates on the IMAP4 server via plaintext.
LIST a102 LIST "" * Lists contents of an account.
SELECT a102 SELECT INBOX Selects a mailbox.
EXAMINE a102 EXAMINE INBOX Returns statistics on a mailbox, without selecting it.
CREATE a104 CREATE mailbox
a104 CREATE directory\
Creates a new mailbox or directory hierarchy on the server. Note: "\" should match the hierarchy separator returned by the LIST command.
DELETE a102 DELETE mailbox Deletes a mailbox or a directory hierarchy.
RENAME a102 RENAME mailbox name Renames a mailbox or a directory hierarchy.

Example IMAP4 Session

For More Information

RFC 2060, IMAP4, revision 2
The latest set of specifications for the IMAP4 protocol.