Hi ,
i use the following php code to send mail :
<?php
$to = "
[email protected]";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
It writes the success message - but it doesn't send the mail . What do i need do do or change to solve this problem ?