astroidmail / astroid

A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
http://astroidmail.github.io
Other
612 stars 65 forks source link

"[error] address: more than one address in list!" when From: has multiple addresses #619

Open dkg opened 5 years ago

dkg commented 5 years ago

the message format spec says that From can have multiple addresses, but when astroid encounters such a message, it sends this to stderr:

[error] address: more than one address in list!

Astroid should handle this situation more gracefully.

gauteh commented 5 years ago

Yes, seems like we should just handle addresslists like for the to field?

ons. 16. jan. 2019 kl. 00:00 skrev dkg notifications@github.com:

the message format spec https://tools.ietf.org/html/rfc5322#section-3.6.2 says that From can have multiple addresses, but when astroid encounters such a message, it sends this to stderr:

[error] address: more than one address in list!

Astroid should handle this situation more gracefully.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/astroidmail/astroid/issues/619, or mute the thread https://github.com/notifications/unsubscribe-auth/AADd-3dgmEsbCWH1XX0uz8fhrQUdKFOWks5vDl2BgaJpZM4aB-1h .

dkg commented 5 years ago

yep, i think that's correct. thanks for looking into it!