- Edited
Hello,
osTicket (v1.10.7), PHP v 7.3.7 on Apache, MySQL 5.6.44
If a new user registers, he never gets the email to confirm his registration if I use php mail. If I select the locked user and try to send him the password reset email, he doesn't get it either.
So I tried to set up an smtp server instead. I tried mailgun which I use on my Wordpress sites. I went into admin > emails, created a new email with my smtp settings and when I submit, I get the following message on top : Unable to log in. Check SMTP settings and at the bottom : Failed to connect to smtp.gmail.com:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]
As you can see from this code, I also tried gmail. I followed step by step the procedure on docs.osticket.com with the youtube video. I tried with smtp.google.com, with smtp-relay.gmail.com, ssl://smtp.gmail.com with port 465 or tls://smtp.gmail.com with port 587. I always end up with the same error message. Please help!