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.

Email not sending...

Discussion in 'E-mail Discussions' started by AnoopJose, Aug 7, 2015.

  1. AnoopJose

    AnoopJose Registered

    Joined:
    Aug 7, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    email not sending from my server..when i use phpinfo() it shows mail() in "disable_functions : show_source, system, shell_exec, passthru, popen, proc_open, symlinked, symlink, escapeshellarg, escapeshellcmd, mail, exec", how to enable mail() ? what to do for sending mail? help!!

    error_log: [06-Aug-2015 12:21:59 UTC] PHP Warning: mail() has been disabled for security reasons
     
    #1 AnoopJose, Aug 7, 2015
    Last edited by a moderator: Aug 7, 2015
  2. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    You've to request this to be enabled from your provider as this needs to be done using root access.
     
  3. AnoopJose

    AnoopJose Registered

    Joined:
    Aug 7, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    how to request? wt i hav to do for this?
     
  4. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Request from the provider you got your hosting space from.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you have root access to this system, or do you only have a hosting account purchased from a provider? You will need to contact your hosting provider to see if it's possible for them to allow the "mail" function with PHP if you don't have root access. Or, configure sending email via SMTP in your script.

    Thank you.
     
Loading...

Share This Page