how to use the default app to send emails but without having to open it
-
I need to send email from my qt app, I'm trying to use QdesktopServices for this, but I wanted to send the email without having to open the default email app. it is possible?
-
Hi and welcome to devnet,
AFAIK, no it's not. What is your use case ?
-
@SGaist I need my app to send an email to a specific destination when a certain action happens, it works fine with mailto, but it doesn't send automatically.
-
On the user's behalf ?
For "no intervention required" mail sending, you would rather have to implement that within your application. -
On the user's behalf ?
For "no intervention required" mail sending, you would rather have to implement that within your application.@SGaist Yes that's right
-
Don't forget to let your users know that it will happen. Having an application phoning home without people knowing will not be a good thing.
-
Don't forget to let your users know that it will happen. Having an application phoning home without people knowing will not be a good thing.
@SGaist It is an internal application of my company, users are collaborators and are aware that the system can rely on this tool. Is there a way to send it automatically with mailto?
-
AFAIK, no.
Are you using C++ ?
If so, you can use the curl library for example to send your email. -
AFAIK, no.
Are you using C++ ?
If so, you can use the curl library for example to send your email.@SGaist Yes I'm using c++, do you have any examples of how I can use this library for this case?