I have a sendmail file uploaded to the hosting server and the code is:
- Code: Select all
$to = "personstays@yahoo.com";
$headers = "From: Makara";
$subject="Hello";
$message="test";
$succeed=mail($to, $subject, $message,"MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n".$headers);
if(!$succeed)die("The mail does not function!");
header("location: index.php?message=succeed!");
And when I test it, there is no error message coming out.
However I can't get the message, even though I wait for it for a long time.
Hope someone can help me solve this problem.
Thanks in advance.
Makara Kao


