SMTP: Failed to connect socket: stream_socket_client(): unable to connect to 465

i tried many ways but no result?
osTicket Version v1.15.3.1 (65ca4e6) — v1.15.8 is available
Web Server Software Apache/2.4.41 (Ubuntu)
MySQL Version 10.3.34
PHP Version 7.4.3

    ndt1092

    1. Upgrade to the latest release and retest.
    2. Remove the ssl:// and retest.
    3. Remove the ssl://, use port 587, and retest.
    4. Make sure OpenSSL is installed on the server and is up to date.

    If all else fails, contact your hosting provider/server admin and/or mail provider for further assistance. Your hosting provider/server admin will have access to your server logs and will be able to see any related errors. You mail provider will have access to the mail logs and should be able to tell you if there is an issue on that end as well.

    Cheers.

      ndt1092

      If all else fails, contact your hosting provider/server admin and/or mail provider for further assistance. Your hosting provider/server admin will have access to your server logs and will be able to see any related errors. You mail provider will have access to the mail logs and should be able to tell you if there is an issue on that end as well.

      a year later

      I have the same error: " Failed to connect to smtp.gmail.com:587 [SMTP: Failed to connect socket. "
      I have tried several email providers and the problem persists. If anyone found the solution I need your help.

        Write a Reply...