+ Reply to Thread
Results 1 to 4 of 4

Thread: SMTP problem

  1. #1

    SMTP problem

    2020-07-06 18:03:00 Connection: opening to ssl://smtp-relay.gmail.com:587, timeout=300, options=array()

    2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]

    2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]

    2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp-relay.gmail.com:587 (Unknown error) [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]

    2020-07-06 18:03:00 SMTP ERROR: Failed to connect to server: (0)

    SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting
    Classifieds Site: Annonssida
    Other Site: SEO

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Hello,

    It seems that your server doesn't allow to use ssl port

    contact your hosting and ask what could be the problem
    Last edited by Rudi; July 7, 2020 at 05:46 AM.

  3. #3
    They have blocked port 25.

    I have been googling and I have changed my exim to p
    Classifieds Site: Annonssida
    Other Site: SEO

  4. #4
    Got it working with Mailgun
    Classifieds Site: Annonssida
    Other Site: SEO

+ Reply to Thread