Email call in php is not being sent

Username (e.g. epiz_XXX) or Website URL


Error Message


Other Information

I run a small file mailtest.php containing

if (mail("[email protected]","Subject","Email message","From: [email protected]")) {
  echo 'Email sent successfully...';
} else {
  echo 'Problems with sending email...';

All appears to be good, but no email shows up. Is there some setup I should be taking care of to make this work properly? Secondarily, in which error log might I be looking for an indication of what’s going on?


Unfortunately, the PHP mail() function is restricted and most messages will not be sent.
For more info:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.