Bug 155389 - KToolInvocation::invokeMailer does not set mailto:<addresses> correctly
Summary: KToolInvocation::invokeMailer does not set mailto:<addresses> correctly
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-10 10:59 UTC by Dag Andersen
Modified: 2009-08-20 12:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes mailto: and encoding problems when invoking kmail (1.31 KB, patch)
2008-01-10 11:38 UTC, Dag Andersen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.