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.

Warning: mail() has been disabled for security reasons

Discussion in 'E-mail Discussions' started by hemraj, Mar 9, 2016.

  1. hemraj

    hemraj Registered

    Joined:
    Mar 8, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    Website Owner
    so how to solve this problem please help me
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The message suggests your hosting provider has disabled the PHP "mail" function. You can contact your hosting provider to see if they can enable it, or consider using SMTP authentication in your mail script.

    Thank you.
     
  3. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Create a phpinfo.php file with the following code
    Code:
    <?php
    phpinfo();
    ?>
    
    Now call it in your browser and check the section "disable_functions" , you can see this option is disabled .
     
Loading...

Share This Page