Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2002
    Posts
    136

    Default Problem with sending mail in PHP

    Hello,

    We are having problem with the user who use the php mail() function to send out email.The emails will not be send out as we have enable the option in the WHM to not allow "noody" sender to send out the mails.

    Any ideas that we may fix this problem?



    Andy

  2. #2
    Member
    Join Date
    Nov 2002
    Location
    Barcelona, Edo. Anzoategui, Venezuela
    Posts
    13

    Smile Unroutable Mail Domain Error

    See this

    Unroutable Mail Domain Error If you are seeing this error when sending mail from php scripts you should disable the 'Prevent the user 'nobody' from sending out mail to remote addresses' option in tweak settings. Unless you have installed phpsuexec all php scripts will run as the user 'nobody'. Please note that this is nothing wrong with this feature, and it functions exactly as it is intented to. We have included this message because many people were unclear as to what this feature does.
    Juan Simao
    Help Desk
    http://www.iguanahosting.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2002
    Posts
    136

    Default

    Hello,

    Thanks for the prompt reply.

    We are unable to disable the "nobody" sender in the WHM as recently we found there are many spam mails send out and if we disable this option , it is hard for us to trace out the sender in case any thing happen.

    I am not so clear about the statement :

    Unless you have installed phpsuexec all php scripts will run as the user 'nobody'.

    Does it mean that we have installed the phpsuexec, it will resolved this issue?


    Thanks for the guide.




    Andy

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2002
    Posts
    136

    Default

    Hello,

    I have disable the "nobody" option in WHM but the mail is still not reaching its intended destination.

    Any ideas?



    Andy

Similar Threads & Tags
Similar threads

  1. see which php scripts are sending mail?
    By alexmack in forum Security
    Replies: 5
    Last Post: 08-26-2010, 11:23 PM
  2. PHP not sending mail
    By desiguru in forum New User Questions
    Replies: 0
    Last Post: 12-08-2009, 07:13 PM
  3. Php Sending Mail Not Working
    By tsediting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-24-2008, 03:22 AM
  4. Problem with sending mail from PHP
    By flashweb in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-29-2008, 09:31 AM
  5. php mail() function not sending mail
    By fuzzymonkey in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-26-2006, 10:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube