This is a quick list of IMAP protocol commands. It is far from complete, but servers as a quick reference when i'm testing changes to my IMAP server.
This is a quick list of IMAP protocol commands. It is far from complete, but servers as a quick reference when i'm testing changes to my IMAP server.
A1 LOGIN username password
A1 LIST "" *
A1 LIST INBOX *
A1 LIST "Archive" *
A1 LSUB "" *There are more flags than the ones listed
A1 STATUS INBOX (MESSAGES UNSEEN RECENT)A1 SELECT INBOXA1 FETCH 1:* (FLAGS)A1 UID FETCH 1:* (FLAGS)A1 FETCH 2 body[text]A1 FETCH 2 allA1 UID FETCH 102 (UID RFC822.SIZE BODY.PEEK[])A1 CLOSEA1 LOGOUT