Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mail() function not sending email

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

  1. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. hamper

    hamper Well-Known Member

    Joined:
    Apr 28, 2006
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    166
    Actually i did read your last reply where you put the solution down, it still didn't help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    some things do do after installing php suexec
    /scripts/chownpublichtmls
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice