purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

"Unparsable" emails result in confusing error when replying #508

Open romanofski opened 1 year ago

romanofski commented 1 year ago

Describe the bug When I reply to e-mails with non-ascii characters Purebred shows the email in the UI, but when I want to send the mail sendmail tells me that no receipients are given.

To Reproduce Steps to reproduce the behavior:

  1. Use a mail where it's From header contains an unquoted name with non-ascii characters, e.g. Röman Joost <foo@example.test>
  2. Hit Reply
  3. the UI should put the former From address in the new To: field
  4. When trying to send it results in an error

Expected behavior I think it's just a matter of encoding it properly underneath vs what we're showing in the UI?