[Kde-pim] What is X-KMail-Identity header ?

laurent Montel montel at kde.org
Fri Mar 28 06:51:49 GMT 2014


On jeudi 27 mars 2014 23:21:02 Ingo Klöcker wrote:
> On Wednesday 26 March 2014 11:28:32 Daniel Vrátil wrote:
> > On Monday 24 of March 2014 19:18:44 Martin Koller wrote:
> > > What is the mail header X-KMail-Identity used for ?
> > 
> > I *think* it's ID of the KMail Identity from which the message was
> > sent.
> 
> I confirm this. This header should be stripped from the message before
> it is sent. It is used to select the correct identity in the composer if
> the message is edited (e.g. as draft or in the outbox before sending).

It's stripped when we send mail 
"
void SendJob::Private::doTraditionalTransport()
{...
  if( message->hasHeader( "X-KMail-Identity" ) ) {
    message->removeHeader( "X-KMail-Identity" );
    needAssemble = true;
  }
...
"
Be we keep it until we send it otherwise when we use "Send Again" it can't use 
the correct identity

Regards
_______________________________________________
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