Hi Jack:

Am 29.07.21 21:58 schrieb(en) Jack via balsa-list:
I've been trading lots of email lately with a friend, and he recently started complaining that when 
he replies to some of me messages, the To: field does not populate.  It turns out, that happens 
with message I send from Balsa (on my desktop) but not with messages I send from Thunderbird on my 
laptop.  (both Linux)  Note in both cases, I'm using a "real" email address, there is not 
alias or forwarding going on.  (I recall Reply-To: shows up when I send with a "From:" 
address but use the SMTP server of a domain different from that address (such as this message - 
from sourceforge.net, but actualy sent through gmail.)
​
He sent me full header dumps of and example of each, and the "bad" message has a blank 
"Reply-To:" header.  If I look in my sent-mail, I do see blank Reply-To: headers, 
although Balsa doesn't actually display them when I show All Headers looking at my Sent Box.

This is a bug in the code, actually…

See <https://gitlab.gnome.org/GNOME/balsa/-/blob/master/libbalsa/send.c#L1435>: 
in the “headers” struct, all InternetAddressList elements are populated, but the list 
/length/ may be 0 for unused ones.

g_mime_message_get_reply_to() returns an empty list, to which an empty list is 
added, resulting in an empty header.  The same applies to To:, Cc: and Bcc: 
(From: shouldn't be empty).

I push a bug fix to git asap.

Thanks a lot for pointing to that issue!

Cheers,
Albrecht.

Attachment: pgp4cHvSlC7PX.pgp
Description: PGP signature

_______________________________________________
balsa-list mailing list
balsa-list@gnome.org
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to