Hi Kevin, I just tried this, and still - the same issue.
Can you reply to the email you sent us and send us the new raw email after changing that setting?
Okay so from the headers it looks like you're using PHPMailer to send mail. Typically this is when you don't configure SMTP or SMTP is failing so it falls back to PHPMailer. Is there any way you can setup SMTP instead and see if the issue persists? I'm thinking this issue is isolated to PHPMailer which is why I can't replicate it (as I'm using SMTP).
KevinTheJedi Hi Kevin, I'll try that.
With SMTP through OsTicket .. It must link to a real email account right? not a noreply@....
That would depend on your mail server.
If your email server allows sending with a fake account then it would work.
If it does not, then it wouldn't
Quick update, I just tested this by using PHP mail function and the emails still came through normally.
So the question is how exactly are you currently sending mail? I will try to replicate that setup and see if I can replicate the issue.
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?
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.
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.
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.
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.