I am still having this issue. I am trying to update to the latest version of osticket now to see if this helps.
I am running all our emails through gmail. We work on the G suite. This has only happened since moving to php 8. We have been running osticket for years and using gmail for many years also! ... I can't quite figure it out.
Hmm. I wonder if it is a PHP8 bug then.
Yeah, I'm not sure what that is... I'm also experiencing the SMTP connection error with Gmail. I've checked those setting again - all the ports, followed the youtube guide also. I've enabled secured apps because I have other connections enabled with that account... I've double-checked all of the settings, but I can't figure out what's wrong!
I have the same problem with a new installation
I changed the configuration from PHP8 to PHP7.4 and now it works can I leave it like this?
SobItalia Hi all! I'am new at this forum, but I used osTicket for many years. Does version 1.16.3 work fine with PHP 7.4?
Hi all, has anybody resolved this issue? I have updated to the latest osticket version but still no solution!
I can confirm - I downgraded to php7.4 and the issue has been resolved.
+1 I get exactly the same issue with PHP8 after upgrading from 1.5.18 to 1.16.3 I have now switched back to PHP7.4 and emails are showing correctly.
Intervan
No, the requirements explicitly states that 1.16.x requires PHP 8.0.x. It will work with 7.4 but will have issues as there is some code specific to PHP 8.0.x that will break when using PHP 7.4.x.
Cheers.
KevinTheJedi Ok. We have also emails coming through not encoded. Has anyone solved this issue without using PHP 7.4?
The only issue I’ve seen is outgoing and to remedy that you just need to setup SMTP and set that as your default outgoing email as well as the default MTA.
We are unable to replicate the issue so we are unsure of what’s happening. We are changing the mail library completely in v1.17 so these issues should be resolved once that is released.
KevinTheJedi I configured SMTP and MTA and now the mails are sent correctly. Thank you!
I experienced the same issue with version 1.17.4 and 1.17.5 even though using SMTP. Strangely, it worked for a while then suddenly started producing the messages that michaelaff reported.
For me, updating to 1.18.1 resolved the problem.