Re: Send Email with attachment with my Qt Application

2016-11-16 Thread Charles-Elie Gentil
In fact I did not understand how to build KService, but I think I have found: I probably have to create the .pro file myself. For the direct use of invokMailer, I have already tried but I can not use ShellExecute on my Mac. But I will try again. Best regards, Charlie m...@jiyuusoft.net http:/

Re: Send Email with attachment with my Qt Application

2016-11-16 Thread Charles-Elie Gentil
Hello, I try this solution with mailto, but adding attachment don’t work with this command Best regards, Charlie m...@jiyuusoft.net http://blog.jiyuusoft.net > Le 16 nov. 2016 à 17:18, David Edmundson a écrit > : > > > ​You can just use QDesktopServices::openUrl() with a mailto: URL. > >

Send Email with attachment with my Qt Application

2016-11-16 Thread Charles-Elie Gentil
Hi, I work on a Qt application with which I have to send an email with an attachment. I want use the native client of device. Unfortunately, mailto can’t send attachment. Also I have looking the source code of Calligra and it seem that it would be possible to use KToolInvocation::invokMailer.