Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    131

    Default mail() function not sending email

    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!
    Jeremi C Bergman

  2. #2
    Member
    Join Date
    Apr 2006
    Posts
    85

    Default

    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
    EZ Web Solutions
    *coming soon*
    EZ Quality Hosting
    -- making your life EZ on the net...

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    131

    Default

    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.
    Jeremi C Bergman

  4. #4
    Member
    Join Date
    Apr 2006
    Posts
    85

    Default

    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.
    EZ Web Solutions
    *coming soon*
    EZ Quality Hosting
    -- making your life EZ on the net...

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    85

    Default

    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.
    EZ Web Solutions
    *coming soon*
    EZ Quality Hosting
    -- making your life EZ on the net...

  6. #6
    Member
    Join Date
    Mar 2004
    Posts
    131

    Default

    Quote Originally Posted by hamper
    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.
    Jeremi C Bergman

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    some things do do after installing php suexec
    /scripts/chownpublichtmls
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

Similar Threads & Tags
Similar threads

  1. Php Mail Function - cPanel (Not all users get email)
    By multi-task in forum E-mail Discussions
    Replies: 1
    Last Post: 05-25-2011, 04:51 AM
  2. php mail() function not sending mail
    By fuzzymonkey in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-26-2006, 10:49 AM
  3. Pop Email Not Receiving Mail or Sending Mail
    By demine0 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-14-2006, 09:53 AM
  4. php mail(); function doesn't work when disabling NOBODY from sending emails
    By ecwebtechie in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-02-2005, 10:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube