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";
$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!");
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.