Mail with qt
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.
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
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