Bug 155389

Summary: KToolInvocation::invokeMailer does not set mailto:<addresses> correctly
Product: [Frameworks and Libraries] kdelibs Reporter: Dag Andersen <dag.andersen>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fixes mailto: and encoding problems when invoking kmail

Description Dag Andersen 2008-01-10 10:59:36 UTC
Version:           svn trunk (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) 
OS:                Linux

Note: I have only tested this with kmail.
There are 2 issues:
1) When invoking kmail, the to addresses are RFC2047 encoded. KMail does not understand this. It handles cc and bcc ok, but not mailto: addresses.
2) The mailto: protocol is not set in the command, so kmail never finds the "to" addresses.
I can fix this by prepending "mailto:" to the "to" string but I don't know if that's going to break someting else.
Comment 1 Dag Andersen 2008-01-10 11:38:36 UTC
Created attachment 22933 [details]
Fixes mailto: and encoding problems when invoking kmail

Don't know if this is the way to do it, though...
Comment 2 FiNeX 2008-01-13 11:44:20 UTC
Is this a kdelibs or a kdepimlibs or a kmail problem?
Comment 3 Dag Andersen 2008-01-14 07:50:45 UTC
Most likely a kdelibs problem, *maybe* kmail.
Imo kdelibs, because if the command line is formatted the way kmail wants it, it works.
Comment 4 Dag Andersen 2009-08-20 12:26:50 UTC
This works now so closing.