https://bugs.kde.org/show_bug.cgi?id=363586
Bug ID: 363586
Summary: Kmail2 handles mailto: incorrectly. urlencoded does
not work
Product: kmail2
Version: unspecified
Platform: Kubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: commands and actions
Assignee: [email protected]
Reporter: [email protected]
I used to create emails with attached files using mailto: and kmail, but latter
versions did stop working properly.
The standard way to work is to urlencode the mailto link so kmail decodes it
and creates the message.
Now kmail2 does not accept the urlencoded link. TO, CC fields get mixed up. And
if you send the code urldecoded then line breaks are not printed correctly.
Example:
What should work
<a href=
"mailto:SOMEONE%20%3Csomeonesmail%40email.com%[email protected],YETANOTHER20%3Cyetanothermail%40yetanothermail.com%3E&subject=a%20subject%20here%202016&body=Dear%20Al%C3%ADcia%2C%0A%0ABlahAdjuntem%20factura%20n%C3%BAm%203043%20de%20Bredax.%0A%0ASalutacions%2C%0A&attachment=/somefile.pdf"
link should work and
/>Urlencoded Correct email</a>
<a href=
"mailto:SOMEONE
<[email protected]>[email protected],YETANOTHER<[email protected]>&subject=a
subject here 2016&body=Dear Alícia,
BlahAdjuntem factura núm 3043 de Bredax.
Salutacions,
&attachment=/somefile.pdf"
/>Urldecoded incorrect mail</a>
The second one is the one that kind of works, yet line breaks are not
interpreted correctly.
Reproducible: Always
Steps to Reproduce:
1. Test the links I send you
2. You'll see the first does not compose correcly and the second do not have
line breaks.
Actual Results:
2. You'll see the first does not compose correcly and the second do not have
line breaks.
Expected Results:
The first link should generate correct email with TO, 2 CC fields, body
attachment and properly formated body.
I am using firefox from last Ubuntu 16.04
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs