Is there an API for sending Email in Qt ?
-
Is there an API for sending Email in Qt ?
-
Try "QxtSmtp":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html.
-
In this http://www.qtcentre.org/threads/2221-Sending-email-using-Qt you may see for sending email in qt. Think so it will also be helpful for you.
-
Is there a ready API for this ?
-
What's the problem with "QxtSmtp ":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html ? You can send mail with attachements, in plain text or html text, can send e-mail with secured host and so on ...
-
Do you use it ?
When was the last version published ? -
[quote author="aabc" date="1353331205"]Do you use it ?
When was the last version published ?[/quote]Yes, I used it with all the specifications that I have mentioned above. I used libqxt-0.6.2
-
Thanks cincirin
-
Welcome & good luck :-)
-
Hi cincirin,
I am a newbie in Qt and I also have an application which contains send email functionality. As your suggestion, I am using "QxtSmtp":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html in my application. But I tried many ways to send email with attachments and I failed. Could you please give me a sample send email with attachments?
Thanks in advance!
[quote author="cincirin" date="1353330949"]What's the problem with "QxtSmtp ":http://libqxt.bitbucket.org/doc/tip/qxtsmtp.html ? You can send mail with attachements, in plain text or html text, can send e-mail with secured host and so on ...[/quote]
-
Hi LeeMInh,
First post some code of your own. What did you try?? What didn't work?? Don't expect someone just to post his entire knowledge for the world to see.
Btw, this post is very old, so maybe it would be better to start a new one. -
I see. I will start a new thread to discuss about my issue.
Thanks for your advice!
[quote author="Jeroentje@home" date="1381139046"]Hi LeeMInh,
First post some code of your own. What did you try?? What didn't work?? Don't expect someone just to post his entire knowledge for the world to see.
Btw, this post is very old, so maybe it would be better to start a new one. [/quote] -
Hi,
as @Jeroentje already said, it would be better to post some code to see what's wrong.[quote author="LeeMinh" date="1381138733"] Could you please give me a sample send email with attachments?
[/quote]QxtMailMessage works in the same way with or without attachment (i.e, without calling QxtMailMessage::addAttachment function). So, did the e-mail worked without attachment ? If not, make sure your mail server support no secure connection, otherwise you need to connect to secured host (QxtSmtp::connectToSecureHost) and also you must use OpenSSL libraries.