prashant_ohol

Active Member
Nov 22, 2004
44
0
156
Strange thing.

PHP mails are not working.. nothing in exim_mainlog.

Did check “nobody” setting in WHM
Mail function is not disabled in php.ini
Normal mails are working fine
eximmailtrap=0

what could be the reason for this problem?
 

prashant_ohol

Active Member
Nov 22, 2004
44
0
156
Hello,

Yes I am using the below script

<?php
mail("[email protected]", "trying", "test");
?>


tail -f /var/log/exim_mainlog | grep [email protected]

about logs are not printing anything...

- - - Updated - - -

Using any webmail client.. Mail works fine for domain but if we test it using php mail is doesn't work..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Is this happening for multiple accounts? Do you notice any errors in the Apache error log?

Thank you.