Hello everyone.

I have everything configured correctly except the final smtp configuration. I have created my Api in Google and validated in Oauth2 (attached screenshot), but when I click on Save changes I get an error, either with ssl://smtp.gamil.com and port 465, or with tls://smtp.gmail.com and port 587. I have the server mounted on IIS and Php 8.19 with all the necessary extensions enabled. I don't know what can cause this problem. Thank you very much for your help.



    jeropa

    Can you confirm a connection to that host and port via the IIS server's Command Prompt?

    Cheers.

    jeropa

    Also, do you have php_openssl extension installed and enabled?

    Cheers.

    Hello, thank you very much for your answers.

    • I have the php library enabled
    • I have tried these commands from my server to smtp.gmail.com

    Could it be some other php engine or configuration?

    Thanks!!!

      jeropa
      Yes, it's possible if you have multiple versions of php on the server.
      Check which version osTicket is using in Admin Panel, Dashboard, Information; confirm the php version and the necessary extensions.

        TonyO
        Good afternoon.
        Thank you for your reply.
        I have checked the information that you tell me and I see that everything is correct. I could try to install osTicket in another IIS server with another version with php, although I would like to know what could cause this error.
        Greetings and thanks again

          jeropa

          It seems like a server issue as you cannot telnet to that host and port from command line. Check your server DNS to make sure it’s including a public DNS like 8.8.8.8 (google dns), check for any blocked ports, check your firewall, check your internal network, etc.

          Cheers.

          Write a Reply...