Im trying to use sendmail via PHP but although this is returning true from the PHP function, no emails are being received on this hosting account. The function has been tried on other servers and works okay.
the hosting plan is ‘My Happy Hosting’. the PHP example is:
$recipient = “Name firstname.lastname@example.org”;
$subject = “Hey, a new order!”;
$message = “Check it out, a new order!”;
$extra = “From: Webmastersomeone@alternativedomain.com\r\nReply-To: email@example.com”;
mail($recipient, $subject ,$message,$extra);
does senmail need to be enabled for this hosting account type?