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

Henry Skoglund fromqt at tungware.se
Tue Aug 16 00:49:03 CEST 2016


On 2016-08-16 00:14, Bernhard Lindner wrote:
>> I can't confirm that it works. I tried on the command-line with xdg-open and
>> by directly clicking the link above in KMail. Neither time was the body
>> present at all.
>
> When using the link in the mail, it doesn't work for me too.
> When clicking the same link in a local html file it works.
>
> Very strange.
>
> I also tried Qt 5.7. No change... body visible but no line break.
>
> Well, seems that is getting complicated.
>
> Any ideas?

Well at least Qt does something right, I just tested on my Mac, Qt 5.7 
and Thunderbird, "line1" and "line2" show nice line breaks. So far, I 
tested on Ubuntu 14.04, 16.04 and now OSX, all ok with "line1" and 
"line2" on separate lines.
But in all cases the email client is Thunderbird, perhaps that matters...

Rgrds Henry





More information about the Interest mailing list