Bug 122684 - konqueror does not give the "in-reply-to" field to kmail
Summary: konqueror does not give the "in-reply-to" field to kmail
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 10:55 UTC by Alain BAECKEROOT
Modified: 2009-11-06 19:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain BAECKEROOT 2006-02-25 10:55:17 UTC
Version:           3.5.1-0.3-fc4 (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs
OS:                Linux

While browsing a mailing list archive with konquereror, i wanted to reply to one mail
=> i click the "reply to the author": 

mailto:smith@example.com?In-Reply-To=200504170053.12345.smith%40example.com&Subject=%5Bexample-devel%5D%20multi-board%20branch
(i can give you the real adress, i changed the name and id of the mail)

=> kmail is open with a correct "To" field, _BUT_ it does not contain the "in-reply-to" 

=> the mail-thread is broken which is very sad :(

I think there is a bug, i can't believe this feature lacks to so nice KDE ;-)

RH FC4
konqueror 3.5.1-0.3.fc4
kmail 1.9.1
kde-i18n-French-3.5.1-0.1.fc4
LANG=fr_FR.UTF-8

Best Regards
Alain
Comment 1 Thiago Macieira 2006-02-26 18:25:23 UTC
I don't think KMail accepts In-Reply-To.
Comment 2 Alain BAECKEROOT 2006-02-26 19:31:31 UTC
Kmail does understand 'in-reply-to' field, and use it to sort mail by thread.

I googled and triple checked this, before thinking to just read all the headers ;-)
Comment 3 Thiago Macieira 2006-02-26 21:56:13 UTC
I meant: I don't think KMail accepts In-Reply-To in the mailto: URI.

I know it understands them to sort messages by thread.
Comment 4 Thiago Macieira 2006-02-26 21:59:48 UTC
KMail doesn't have an option to set In-Reply-To from the command-line.

Even if it did, KToolInvocation::invokeMailer does not support passing in arbitrary headers.

Even if it did, kmailservice will not decode arbitrary headers from the URI.
Comment 5 Alain BAECKEROOT 2006-06-03 11:24:15 UTC
This feature is VERY important and is part of the RFC.
It is impossible to teach a correct use of mail-archive and maill_thread without this feature, so i must use thunderbird instead for my teachings (and this causes other problems...)
Comment 6 Alain BAECKEROOT 2006-06-03 11:28:39 UTC
I think that full implementation of mail protocol is much more important than anything else.
Comment 7 Ingo Klöcker 2006-06-03 13:50:28 UTC
http://www.faqs.org/rfcs/rfc2368.html does indeed explicitely contain the following example:

   An interesting use of your mailto URL is when browsing archives of
   messages. Each browsed message might contain a mailto URL like:
     <mailto:foobar@example.com?In-Reply-To=%3c3469A91.D10AF4C@example.com>

I guess we should extend invokeMailer and kmailservice and kmail to support arbitrary headers or at least some more useful headers. I'm wondering where we should decide which headers to use and which to ignore. In invokeMailer? Or should we delegate this to the invoked mail client? Should we probably (optionally) pass the complete mailto: link to the mail client and let the mail client decide what to make out of it?
Comment 8 nirgalm 2006-12-07 18:50:09 UTC
People should learn to use mail thread correctly too ;)
Indeed incredible that RFC is not fully implemented.
/ John
Comment 9 Philippe Cloutier 2007-05-12 18:54:10 UTC
Is there a workaround for this to allow manually setting In-Reply-To?
Comment 10 Alain BAECKEROOT 2009-10-27 21:13:43 UTC
1/ This still does not work with Konqueror 4.3.2 (KDE 4.3.2) + Kmail  1.12.2
2/ clicking on url given in #7 make kmail crypting the message.

something need to be done.
Comment 11 Torgny Nyblom 2009-10-28 19:43:20 UTC
SVN commit 1041880 by tnyblom:

Change parseMailtoUrl() to return a QMap containing all fields.
This way we can support arbitrary fields in mailto urls.
This support needs further work as this commit only fixes this function, the use of this new functionality is left for later.

CCBUG: 122684


 M  +8 -9      kmcommands.cpp  
 M  +9 -9      kmkernel.cpp  
 M  +5 -6      stringutil.cpp  
 M  +3 -3      stringutil.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1041880
Comment 12 Torgny Nyblom 2009-10-29 20:09:28 UTC
SVN commit 1042416 by tnyblom:

Add ability to enterpret "In-Reply-To" header in mailto urls.

BUG: 122684


 M  +2 -1      kmkernel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1042416
Comment 13 Philippe Cloutier 2009-10-29 20:32:11 UTC
Please accept my honest thanks for this feature. Looking forward to KDE 4.4.
Comment 14 Torgny Nyblom 2009-11-06 19:34:06 UTC
SVN commit 1045765 by tnyblom:

Backport r1041880,1042416 by tnyblom from trunk to the 4.3 branch:

Change parseMailtoUrl() to return a QMap containing all fields.
This way we can support arbitrary fields in mailto urls.
This support needs further work as this commit only fixes this function, the use of this new functionality is left for later.

CCBUG: 122684

------------------------------------------------------------------------
r1042416 | tnyblom | 2009-10-29 20:09:26 +0100 (tor, 29 okt 2009) | 4 lines

Add ability to enterpret "In-Reply-To" header in mailto urls.

CCBUG: 122684



 M  +8 -9      kmcommands.cpp  
 M  +11 -10    kmkernel.cpp  
 M  +5 -6      stringutil.cpp  
 M  +3 -3      stringutil.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045765