Max Schillinger: 2
message: Replace `void` type with `done` type
message::read_header: Skip header fields with invalid values
3 files changed, 13 insertions(+), 6 deletions(-)
Actually, I have written a cover letter with some explanations. I don't
know why it's not showing up neither in the mailing list nor on
https://lists.sr.ht/~sircmpwn/hare-users/. I have used:
git send-email --compose HEAD~2
Does anybody know if `git send-email` saves sent emails anywhere?
Next try to add a cover letter:
I'm trying to use hare-message in [emailbook-hare][1] but it aborts when
any header field contains invalid UTF-8. This happens very seldom (in
about 0.5% of my emails), mostly in the subject field. Actually,
emailbook-hare doesn't even look at the subject, only at From/To/Cc.
With this patch (2/2), invalid header fields are skipped and an error
message is printed to stderr.
When somebody tries to add an invalid header field via `header_add_raw`,
hare-message aborts nevertheless. Maybe, in this case returning an error
would be better, too?
[1]: https://sr.ht/~maxgyver83/emailbook-hare/
Actually, I have written a cover letter with some explanations. I don't
know why it's not showing up neither in the mailing list nor on
https://lists.sr.ht/~sircmpwn/hare-users/. I have used:
git send-email --compose HEAD~2
Does anybody know if `git send-email` saves sent emails anywhere?