IMAP test

From Noah.org
Revision as of 16:49, 10 August 2007 by Root (talk | contribs) (New page: Category:Engineering MESSAGES may be one of MESSAGES, UNSEEN, RECENT UIDNEXT UIDVALIDITY <pre> telnet imap.example.com 143 01 LOGIN username password 02 LIST "" * 03 SELECT mailbox 04...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


MESSAGES may be one of MESSAGES, UNSEEN, RECENT UIDNEXT UIDVALIDITY

telnet imap.example.com 143
01 LOGIN username password
02 LIST "" *
03 SELECT mailbox
04 STATUS mailbox (MESSAGES)

All IMAP headers in message #1

 05 FETCH 1 ALL

headers and body in message #1

 05 FETCH 1 FULL

body only in message #1

 05 FETCH 1 BODY

envelope only in message #1

 05 FETCH 1 ENVELOPE

Get full email in all(*) messages

 05 FETCH * FULL

Get full message #1

 06 UID fetch 1:1 (UID RFC822.SIZE FLAGS BODY.PEEK[])