aerc/worker/imap
Robin Jarry a46468521b imap: do not abort on malformed messages
Some messages contain invalid headers, textproto.ReadHeader fails with
an error:

  malformed MIME header key: From nobody Fri Jan 14 19

And all other messages of the selected folder are ignored.

Return an explicit error message to the UI and continue processing other
messages. This is consistent with what the maildir worker does.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-06 16:04:15 +01:00
..
create.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
fetch.go imap: do not abort on malformed messages 2022-02-06 16:04:15 +01:00
flags.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
list.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
movecopy.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
open.go messages: allow displaying email threads 2021-11-13 15:05:59 +01:00
remove.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
search.go Add flag based search options 2020-07-25 08:08:08 +02:00
worker.go imap: auto-reconnects on connection error 2022-01-19 17:40:52 +01:00