Closed phi-gamma closed 8 years ago
Great, Thanks! Would you like to open a pull request for your patch ? Or if you prefer I can apply the patch myself.
Expect a PR later today.
See https://github.com/nojb/ocaml-imap/pull/23 -- though I haven’t been able to run any further tests on it.
Closing this as it is resolved.
From RFC 3501:
However, the current parser expects address lists in the envelope to be separated by spaces (
p_list
). This breaks as soon as one of the cited fields contains multiple addresses. Here’s a patch that introduces a variation on the list pattern without spaces:If I apply this, ocaml-imap appears to fetch mailbox items pretty well =)