[Kde-pim] Re: References/In-Reply-To header broken in KMail

Torgny Nyblom kde at nyblom.org
Thu Oct 7 11:24:49 BST 2010


On Thursday 07 October 2010 10.24.59 Thomas McGuire wrote:
> Hi,
> 
> On Tuesday 05 October 2010 22:24:18 Tobias König wrote:
> > 2) The KMime::Message object, which is passed to
> > ComposerViewBase::setMessage is not the one that will be written to the
> > outbox for sending.
> 
> Correct. The KMime::Message object that is passed to setMessage() will be
> used to fill the composer GUI (text, attachment list, to/from/cc lines
> etc), but it will not be used afterwards for other purposes than restoring
> the original message when the user closes the composer without sending or
> saving. When the user saves or sends a message, the information from the
> composer GUI is taken and a new KMime::Message object is created from
> that, and then passed on to Akonadi. This happens in
> ComposerViewBase::slotEmailAddressResolved(). slotEmailAddressResolved()
> calls ComposerViewBase::fillInfoPart(), which is supposed to fill in the
> reply to header.

Why this double creation? Seems like a way to get into trouble to me.

/Regards
Torgny
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list