Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Mail with qt
Network1618033 last edited by
Hi everyone !
I am looking send mail but i don't know how to perform that.
May you help me ?
I would like to have an easier method if it is possible.(I'm a beginner with qt)
Do you want to send an email from Qt program ? If yes, Qt has no package/class to send an email. Some third party C++ library should be able to help you on this.
VRonin last edited by
it's not available in Qt out of the box as it's 100% dependant on the server you are using. If your server supports SMTP (as most do) you can use something like https://github.com/bluetiger9/SmtpClient-for-Qt
JonB last edited by
Decide on what protocol you want to use (e.g. SMTP). Google for "qt send mail example", e.g. https://stackoverflow.com/questions/3717018/how-to-send-mail-via-smtp-and-get-it-by-using-qt
An easy way is also just to use a command line program to do it