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!

Unable to send email using PHP mail().

Discussion in 'E-mail Discussion' 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,792
    Likes Received:
    83
    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..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice