Bug 312837

Summary: Email with two "To:" shows only first one in the list
Product: [Applications] kmail2 Reporter: Albert Astals Cid <aacid>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jkt, montel
Priority: NOR    
Version: 4.9.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The email i got with two "To:"
How it looks like (notice there is only one To:) listed

Description Albert Astals Cid 2013-01-07 18:58:44 UTC
Email with two "To:" shows only first one in the list

Reproducible: Always

Steps to Reproduce:
1. Get an email that has two "To:" addresses
2. Look at it in the message view
Actual Results:  
The "To:" in the message line only has my address

Expected Results:  
The "To:" in the message line has both addresses
Comment 1 Albert Astals Cid 2013-01-07 18:59:25 UTC
Created attachment 76288 [details]
The email i got with two "To:"
Comment 2 Albert Astals Cid 2013-01-07 19:00:27 UTC
Created attachment 76289 [details]
How it looks like (notice there is only one To:) listed
Comment 3 Laurent Montel 2013-01-08 09:03:28 UTC
Which application send this email ?
I confirm that it shows only one "to:"
Comment 4 Laurent Montel 2013-01-08 09:05:37 UTC
Thunderbird shows it correctly.
Comment 5 Albert Astals Cid 2013-01-08 09:06:11 UTC
The mbox file says ;-)

User-Agent: trojita/v0.3-1275-g499e9a4-dirty; Qt/4.8.4; X11; Linux; 

Do you think this is a format break by the sender?
Comment 6 Laurent Montel 2013-01-08 09:20:11 UTC
by default it's better to add all "To" in same line.
But as thunderbird supports it we must support it, but we need to hack kmime to support search multi headers...
don't know if it's possible.
I hope but it will better that Trojita put all "To"/""Cc"/Bcc in same line and not create multi headers.
Comment 7 Jan Kundrát 2013-02-26 03:20:03 UTC
It's in violation of RFC5322 to create multiple From/To/Cc/Bcc headers. It was a bug Trojita which I fixed in early November. Sorry for trouble.
Comment 8 Laurent Montel 2013-02-26 07:51:08 UTC
Ok I close it