[Interest] Sending mail with line breaks using QDesktopServices::openUrl

Henry Skoglund fromqt at tungware.se
Tue Aug 16 14:44:32 CEST 2016


On 2016-08-16 09:56, Viktor Engelmann wrote:
> I tried
>
> xdg-open "mailto:?to=test at test.com&subject=test&body=line1%0D%0Aline2"
>
> this opened kmail with the recipient, subject and body being set
> correctly (with line break)
>
> thunderbird "mailto:?to=test at test.com&subject=test&body=line1%0D%0Aline2"
>
> also worked. I'm using Linux Mint 17.3 with KDE 4.14.2.
>
> Viktor
>

Just to confirm, I also tested on Linux Mint 17.3 and Qt works fine as 
there as well (with line break).
Screen shot: http://www.tungware.com/kmail.png

But what Linux flavor is the culprit/wreaking havoc on the line breaks, 
so far Ubuntu and Mint seems out of the picture.

Rgrds Henry





More information about the Interest mailing list