Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    49

    Default

    enable phpsuexec. to send mails from php scripts

  2. #2
    Member
    Join Date
    May 2004
    Posts
    15

    Exclamation php mail(); function doesn't work when disabling NOBODY from sending emails

    Hello,

    When disabling NOBODY from sending emails in:
    WHM>>Tweak Settings>>Prevent the user 'nobody' from sending out mail to remote addresses (php and cgi scripts generally run as nobody if you are not using phpsuexec and suexec respectively.)

    when I disabled it most users complained + they are unable to email their clients especially forum newsletter.
    The php mail function sends emails to localhost email accounts only, but it doesn't send any single email out side the server.

    the question is: how to keep NOBODY blocked and bring PHP Mail(); to work?.

  3. #3
    Member
    Join Date
    May 2004
    Posts
    15

    Default

    thank you ecwebtechie,

    but where/how to install phpsuexec, when i install it, all php file should be modified and add: #!/usr/local/bin/php in top line?.

    regards
    maaking

  4. #4
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    phpsuexec is installed through WHM > Software > Update Apache, or via /scripts/easyapache in SSH.

  5. #5
    Member
    Join Date
    May 2004
    Posts
    15

    Default

    thank you verymuch

Similar Threads & Tags
Similar threads

  1. php mail() function not sending mail
    By fuzzymonkey in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-26-2006, 10:49 AM
  2. Sending emails doesn't work
    By D-Cre in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-12-2005, 03:33 PM
  3. function mail() doesn't work
    By DjMiX in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-13-2005, 02:13 PM
  4. PHP mail() function does not work
    By intelliot in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-15-2004, 05:50 AM
  5. Function Mail (PHP), it doesn't work!
    By jpvechor in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-07-2003, 10:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube