osTicket Version v1.11 (d4e240b) — Up to date
Web Server Software Apache2.4
MySQL Version 5.7.18

PHP Version 7.1.27

We have the email ID in Gmail with 2 factor authentication. I generated Google App Password and used in OSticket. IMAP (email fetching) is working fine. But SMTP is not working, below is the error. Please suggest at the earliest.

Upgraded to v1.12, still facing same issue. Followed Gmail configuration as per the link for App Password. Below is screenshot of the error. Also raising this separately in OsTicketv1.12 section:

Have you read the GMail documentation that I linked you the other day?
Did you do what it said to do in your gmail account?

Yes, follwed GMail documentation. This is not working when we enable "Authentication" in GMail smtp-relay setting, but with IP authentication, it is working.

Please suggest, how to make it working through SMTP authentication also.

    ShailendraPhonon
    The errors, you getting is failed to connect to smtp-relay.gmail.com, which mean something blocking within your network. Your first screenshot was authentication failure error, so something does not match

    Hi @ramrajone ,
    I checked and found that I am able to telnet smtp-relay.gmail.com on port 587 and 465 from that server where OSticket is installed.

    I have the same problem I have a 2008 server r2
    Failed to connect to smtp-relay.gmail.com:465 [SMTP: Invalid response code received from server (code: -1, response: )]

      ramrajone
      I followed the same, but password authentication is not working with OSTicket. IP address whitelist is working. I was looking an option were password authentication also works.

      Write a Reply...