PHP mail() doesn't work

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
I have clean install of WHM/cPanel and only one created account. On that account I'm not able to send email using PHP mail() function getting those errors:

Code:
/home/myweb/public_html/site/system/language/english/email_lang.php:7: $lang['email_no_recipients'] = "You must include recipients: To, Cc, or Bcc";
/home/myweb/public_html/site/system/language/english/email_lang.php:8: $lang['email_send_failure_phpmail'] = "Unable to send email using PHP mail().  Your server might not be configured to send mail using this method.";
Any clue how to enable it?

Thanks
 

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
Well, I have got that message from cPanel log as

[newmailcgi] Recently Uploaded CGI scripts that send email on server01.myhosting.net

Note: If this is the first time you received this mail, it contains the history for the entire month so far.

Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM.

So this is not an error just a warning?