The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mail() function not sending email

Discussion in 'E-mail Discussions' started by netnameus, Sep 26, 2006.

  1. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
  2. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  3. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  5. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  6. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Actually i did read your last reply where you put the solution down, it still didn't help.
     
  7. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    some things do do after installing php suexec
    /scripts/chownpublichtmls
     
Loading...

Share This Page