bluetiger9 / SmtpClient-for-Qt

An SMTP Client writen in C++ for Qt. Allows applications to send emails (MIME with text, html, attachments, inline files, etc.) via SMTP. Supports SSL and SMTP authentication.
https://github.com/bluetiger9/SmtpClient-for-Qt/wiki
GNU Lesser General Public License v2.1
449 stars 226 forks source link

Run failed #132

Closed 627xiaobai closed 1 year ago

627xiaobai commented 1 year ago

debug model prompt: QObject::connect: No such signal QSslSocket::errorOccurred(QAbstractSocket::SocketError) qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

relesse model: CMD Show blank, And I didn't receive the email

bluetiger9 commented 1 year ago

QObject::connect: No such signal QSslSocket::errorOccurred(QAbstractSocket::SocketError)

@627xiaobai, are you using an old version (<= 4.x) of Qt? QSslSocket::errorOccurred was added in Qt 5.

qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

This suggest you have an SSL problem. I would suggest to test SSL connection by creating a simple QSslSocket that connects to the SMTP server.