Skip to content

Instantly share code, notes, and snippets.

@mscdex
Last active December 9, 2017 12:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mscdex/5329227 to your computer and use it in GitHub Desktop.
Save mscdex/5329227 to your computer and use it in GitHub Desktop.
Why the IMAP protocol sucks
1. You cannot fetch .TEXT, .HEADER, etc. for parts that are not of type message/rfc822
2. Gotchas with multiple asynchronous requests
3. Response to partial body fetch does not include originally requested range, only the starting byte number
4. Fragmented fetch responses (servers are not required to collect all requested pieces of information for a particular message into a single response)
5. LIST can display child mailboxes before their parents
6. FETCHing a comma-separated list of messages (UIDs or seqnos) does not necessarily result in FETCH responses in that same order
7. Untagged FETCH responses containing FLAG updates can be sent for messages not requested *during* a FETCH request.
@Chinacolt
Copy link

I am one of the unfortunate people who have to read RFC standarts related to email. And you buddy, you articulate my feelings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment