mail() function not sending email

netnameus

Well-Known Member
Mar 7, 2004
131
0
166
Where do I check the error log for mail() errors in my phpscript? i've got a real simple script that just calls the mail() function with the parameters hardcoded. The email is never reaching me, and if I echo mail() it does not return true.

Thanks!
 

hamper

Well-Known Member
Apr 28, 2006
85
0
156
do a search on my posts, I just had the same issue about a week back and I posted the fix in the post I asked about after going through several things others suggested.

hth
 

netnameus

Well-Known Member
Mar 7, 2004
131
0
166
Hi, thanks for the suggestion, but that didn't solve my problem.



I also have phpsuexec and suexec enabled, and i do not have "Prevent 'nobody'....." checked.

This all seemed to start after I installed phpsuexec.
 

hamper

Well-Known Member
Apr 28, 2006
85
0
156
you obviously didn't read MY last reply where I put the solution down. I stated the other fixes listed didn't help me either.
 

hamper

Well-Known Member
Apr 28, 2006
85
0
156
PROBLEM FIXED

I followed the suggestion of:

deleted the /etc/eximmailtrap file
changed /var/cpanel/cpanel.config to make eximmailtrap=0

and this solved the problem.
 

netnameus

Well-Known Member
Mar 7, 2004
131
0
166
hamper said:
you obviously didn't read MY last reply where I put the solution down. I stated the other fixes listed didn't help me either.
Actually i did read your last reply where you put the solution down, it still didn't help.