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!

@jeffduke

The 1.10.x series only supports up to PHP v7.0 so I would either upgrade osTicket to v1.12.3 (which supports PHP v7.3) or keep your osTicket version and downgrade PHP to v7.0 or v5.6.

Cheers.

Ok, good to know! I’ll downgrade back to 5.6 for now. Everything I tried above was in 5.6 however. I just tried upgrading to latest in case it would help, but it didn’t.

@jeffduke

Okay, and when you configure your SMTP settings in osTicket you are setting SMTP Authentication Required to Enabled? If not, you have to have Authentication Required set to Enabled. Also, make sure you Enable LessSecureApps for the email and that you unlock DisplayUnlockCAPTCHA.

Cheers.

    KevinTheJedi Hi, thanks for your continued help!

    yes, I left Authentication required to enabled, but I also tried to disable it to see if it would help.

    I enabled Less secure apps on gmail as indicated in your youtube step by step tutorial.

    I just tried now to unlock the captcha on google gmail. I’m still getting the same error :-/

    Write a Reply...