[kmail2] [Bug 363586] New: Kmail2 handles mailto: incorrectly. urlencoded does not work

eduard via KDE Bugzilla bugzilla_noreply at kde.org
Fri May 27 11:11:14 BST 2016


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: kdepim-bugs at kde.org
          Reporter: eduardp at bredax.com

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%3E?cc=someothermail at othermail.com,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
<someonesmail at email.com>?cc=someothermail at othermail.com,YETANOTHER<yetanothermail at yetanothermail.com>&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.


More information about the Kdepim-bugs mailing list