I have a sendmail file uploaded to the hosting server and the code is:
Code: Select all
$to = "firstname.lastname@example.org"; $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!");
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.