Hi, I have the same error in my PHP application, I’ve tried many options, but finally I’ve decided to change the hosting company. By the way you can try to add this code into you page to see if they are errors displaying or not
ini_set('display_errors', 1);
Also try this
If (!mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader)){
Echo”error sending message”;
} else {
echo”message was sent”;
}
this all that we can try, but in my other hosting company all works properly so I will change all there, I think this is the PHP server or version problem or something like this, I don’t think that it is the our code problem.
Regards