How to send email using Qt
What do you need?
- Downlaod Those files.
- Download This projet (its an exemple).
- Create a new gmail Account and open it then go to this link and Check“Allow less secure applications” parameter enabled.
- Extract sendMailFiles.rar in Your C:\Qt\Tools\mingw\bin
2-Open SimpleSmtp_SSL_QT5-master\smtp\smtp.pro with Qt
Username->the address mail of the new mail that u created
Password->the password of the new mail that u created
Recipant to->the address to whom you want to send the message
Then write the subject and message u can send file too by attachement