Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Unable to send email using PHP mail().

Discussion in 'E-mail Discussions' started by Irfan Arfiandi, Dec 10, 2017.

  1. Irfan Arfiandi

    Irfan Arfiandi Registered

    Joined:
    Dec 10, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Indonesia
    cPanel Access Level:
    Website Owner
    Somebody can help me?
    I had problem with CI sendmail,
    the function work before and in several days the function not work anymore,
    this the error:
    "Unable to send email using PHP mail(). Your server might not be configured to send mail using this method."
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,734
    Likes Received:
    78
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Did you try to debug the mail script to check if any syntax error is occuring. Also, check the error logs when you execute the script..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,782
    Likes Received:
    1,712
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    As a website owner, you will need to reach out to your web hosting provider to verify they have disabled the ability for scripts to send out email via PHP's mail function.

    Thank you.
     
Loading...

Share This Page