Jump to content

[Solved] Mail() From Php Does Not Work Anymore


zelezni

Recommended Posts

Hi all,

 

Since yesterday, my php scripts are not sending any emails anymore. I tried different scripts (with almost the same code), send to different email addresses (even to this from heliohost), but no email reaches its destination. Script returns "False", but I have no idea what to check. I will be happy for any hint what else to check, explanation, etc. I'm on Stevie. Is it possible that there are some limitations (although I haven't sent many emails).

 

This is the simplest code I use (which was working till yesterday):

<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
 $to = "a@b.c";
 $subject = "Test Mail";
 $message = "Hello world!";
 $rslt =  mail($to, $subject, $message,"a@b.c");
 if ($rslt) {echo "The email was sent";} else {echo "The email was NOT sent";}
?>

 

Thanks in advance!

zelezni

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...