Unable to use phpmailer

Konfuzed

Verified User
Joined
Feb 20, 2021
Messages
18
Hi there,

Recently our users have been unable to send e-mail through phpmailer. Since WordPress uses phpmailer by default this is causing major issues, especially in combination with WooCommerce. I've tried tracking down the issue, but I'm unable to solve this. Exim's paniclog gives the following error;

unable to set gid=12 or uid=8 (euid=0): privilege not needed

Webmail like RoundCube is working perfectly fine, it's just that the phpmailer doesn't work. Can anyone help me on this one?

Things I've tried;
- Rebooted the server
- Reinstalled Exim
 
Did you check disabled_functions in php? If you have secure php on in options.conf. This sets all the standard things to disable and mail is one of them. Since it’s considered unsafe to use php mail.
 
By PHPMailer I assume you mean the PHP mail() command, as it uses that by default - or do you mean they use an SMTP/mail plugin?
 
I've rebuild everything in CustomBuild 2.0 and now everything seems to be OK again. Not sure what caused the problem, but this solved it right away.
 
Back
Top