Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. smtp client

smtp client

Scheduled Pinned Locked Moved Unsolved General and Desktop
smtp client
3 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bazelboday
    wrote on last edited by
    #1

    hello, i've downloaded some working smtp library for sending mail that works fine if i'm using gmail account, but when i'm trying to connect to my account wich has name for example somename.one@company.ru i got error: Server response: "535 Incorrect authentication data: authentication failed for somename.one@company.ru\r\n".

    here is the log :
    qt.network.ssl: QSslSocket: cannot resolve SSL_set_psk_client_callback
    qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method
    qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method
    qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method
    qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method
    qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto
    qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
    qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
    No attachments found
    stateChanged QAbstractSocket::HostLookupState
    stateChanged QAbstractSocket::ConnectingState
    stateChanged QAbstractSocket::ConnectedState
    Connected
    qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated
    readyRead
    Server response code: "220"
    Server response: "220 smtp40.i.mail.ru ESMTP ready\r\n"
    readyRead
    Server response code: "250"
    Server response: "250-smtp40.i.mail.ru\r\n250-SIZE 73400320\r\n250-8BITMIME\r\n250-PIPELINING\r\n250 AUTH PLAIN LOGIN XOAUTH2\r\n"
    qt.network.ssl: QSslSocket::startClientEncryption: cannot start handshake on non-plain connection
    "Unknown error"
    readyRead
    Server response code: "250"
    Server response: "250-smtp40.i.mail.ru\r\n250-SIZE 73400320\r\n250-8BITMIME\r\n250-PIPELINING\r\n250 AUTH PLAIN LOGIN XOAUTH2\r\n"
    Auth
    readyRead
    Server response code: "334"
    Server response: "334 VXNlcm5hbWU6\r\n"
    Username
    readyRead
    Server response code: "334"
    Server response: "334 UGFzc3dvcmQ6\r\n"
    Pass
    readyRead
    Server response code: "535"
    Server response: "535 Incorrect authentication data: authentication failed for somename.one@company.ru\r\n"

    https://github.com/xcoder123/SimpleSmtp_SSL_QT5/blob/master/README.md here is that library.Any suggestion? Thanks in advance!

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bazelboday
      wrote on last edited by
      #2

      now i'm getting this error :

      error "Error during SSL handshake: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol"

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Might be a silly question but do you have OpenSSL available ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved