Simple TLS/SSL supported SMTP client for Qt5
-
I am using this with Qt 5.7. The email is successfuly sent but then I get this error in the end :
Server response code: "221"
Server response: "221 2.0.0 closing connection y144sm8277194wmd.18 - gsmtp\r\n"
error QAbstractSocket::RemoteHostClosedError
stateChanged QAbstractSocket::UnconnectedState
disconneted
error "The TLS/SSL connection has been closed" -
Did you check whether your server uses an outdated protocol that is either not supported anymore or disabled by default for security reasons.
-
opengpu 36 minutes ago
anyone ever used libcurl to send email to smtp server?how many milliseconds it need for sending mail one time?is it fast enough to send email by libcurl in mainThread?
i tried this one, it works. but it's slow, as it needs about 3000 milliseconds for sending email one time.
https://github.com/bluetiger9/SmtpClient-for-Qt -
This post is deleted!