+ Reply to Thread
Results 1 to 3 of 3

Thread: SMTP Problem

  1. #1
    Senior Member
    Join Date
    Mar 2016
    Posts
    181

    SMTP Problem

    Hello. i tried to used SMTP but there's an error. Please see below


    2023-03-10 11:36:40 Connection: opening to smtp.acumbamail.com:25, timeout=300, options=array()
    2023-03-10 11:36:42 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.acumbamail.com:25 (Connection refused) [/home/admin3ping/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 389]
    2023-03-10 11:36:42 SMTP ERROR: Failed to connect to server: Connection refused (111)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting
    Attached Images Attached Images

  2. #2
    Senior Member
    Join Date
    Mar 2016
    Posts
    181
    and after changing the port from :25 to :587


    2023-03-10 12:03:55 Connection: opening to smtp.acumbamail.com:587, timeout=300, options=array()
    2023-03-10 12:03:55 Connection: opened
    2023-03-10 12:03:55 SERVER -> CLIENT: 220-HOST ESMTP Exim 4.96 #2 Fri, 10 Mar 2023 20:03:55 +0800 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
    2023-03-10 12:03:55 CLIENT -> SERVER: EHLO DOMAIN
    2023-03-10 12:03:55 SERVER -> CLIENT: 250-HOST Hello DOMAIN [67.227.250.159]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPECONNECT250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
    2023-03-10 12:03:55 CLIENT -> SERVER: STARTTLS
    2023-03-10 12:03:55 SERVER -> CLIENT: 220 TLS go ahead
    2023-03-10 12:03:55 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=`HOST' did not match expected CN=`smtp.acumbamail.com' [/home/admin3ping/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 468]
    SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): Peer certificate CN=`HOST' did not match expected CN=`smtp.acumbamail.com'
    2023-03-10 12:03:55 CLIENT -> SERVER: QUIT
    2023-03-10 12:03:55
    2023-03-10 12:03:55
    2023-03-10 12:03:55 Connection: closed
    SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting

  3. #3
    I suggest you create a new ticket with the problem we will solve it.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread