HI,
I have set up a mail function to email when a order is placed on my site but The mail is not comming through to my inboxs(i have tried 2 email addresses), the $to variable is fine and i get the echo "Message successfully sent!", also the server is PHP 4.3.9.
$to = $record[email];
$subject = "Hi!";
$body = "Hi,\n\nthank you for placing an order\n\nplease click bellow to view you order<BR><A href=view_order.php>view order</A>";
if(mail($to, $subject, $body,'')) echo("<p>Message successfully sent!</p>");
else echo("<p>Message delivery failed...</p>");
any help would be appreciated
thanks
Hoffmeister