Summary: | multiple TO: fields in received mails are not displayed and are lost when replying to all | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Mathieu BOIS <boism> |
Component: | GUI | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | allan, jork.loeser |
Priority: | NOR | ||
Version: | 1.6.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch for multiple "To"-field bug against kmmessage.cpp version 1.468 |
Description
Mathieu BOIS
2004-05-01 18:23:03 UTC
I have the same problem here, mails are all delivered fine to recipients in the "to:" fields by the smtp-server, therefore kMail should handle that correctly. Created attachment 6098 [details]
Patch for multiple "To"-field bug against kmmessage.cpp version 1.468
This patch solves the "To"-Field bug in the same way, as the multiple-"CC"
issue is solved; joining all the different recipients in the "To"-rfc entries.
Bonsai does the same. Anybody looking at this bug? SVN commit 603228 by marten: Handle multiple To header lines (not valid according to the RFCs, but some mailers generate them...) BUG: 80747 M +2 -1 branches/work/kdepim-3.5.5+/kmail/kmmessage.cpp --- branches/work/kdepim-3.5.5+/kmail/kmmessage.cpp #603227:603228 @@ -1849,7 +1849,8 @@ //----------------------------------------------------------------------------- QString KMMessage::to() const { - return KPIM::normalizeAddressesAndDecodeIDNs( headerField("To") ); + // handle To same as Cc below, bug 80747 + return KPIM::normalizeAddressesAndDecodeIDNs( headerFields( "To" ).join( ", " ) ); } *** Bug 37018 has been marked as a duplicate of this bug. *** SVN commit 607986 by marten: Merge commit 603228 from branches/work/kdepim-3.5.5+: Handle multiple To header lines (not valid according to the RFCs, but some mailers generate them...) CCBUG: 80747 M +2 -1 kmmessage.cpp --- branches/KDE/3.5/kdepim/kmail/kmmessage.cpp #607985:607986 @@ -1790,7 +1790,8 @@ //----------------------------------------------------------------------------- QString KMMessage::to() const { - return KPIM::normalizeAddressesAndDecodeIDNs( headerField("To") ); + // handle To same as Cc below, bug 80747 + return KPIM::normalizeAddressesAndDecodeIDNs( headerFields( "To" ).join( ", " ) ); } Committed to SVN trunk as 608793 (forgot the CCBUG...) |