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.

SOLVED No sites can send emails via PHP (local or external)

Discussion in 'E-mail Discussions' started by SSy, Feb 21, 2017.

  1. SSy

    SSy Member

    Joined:
    May 10, 2016
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi there - this is a relative emergency. None of my sites on WHM are sending out mail, whether it be local or external. The mail function is returning a 'false'. I am able to send mail using SMTP via email addresses created in the control panel so it is not a server wide issue but strictly a PHP issue it seems.

    Anyone have any idea?
     
  2. SSy

    SSy Member

    Joined:
    May 10, 2016
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Fixed by

    chown root:mailtrap /usr/sbin/sendmail
    chmod 2755 /usr/sbin/sendmail

    thanks
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page