I have made a script to send emails in PHP:
But when i load the page it says & i dont recive an email:PHP Code:<?php
$to = "XXX@bigpond.com";
$subject = "request";
$body = $_GET["email"];
if (mail($to, $subject, $body)) {
echo("<br/><br/>Message successfully sent!</p>");
} else {
echo("<br/><br/>Message delivery failed...</p>");
}
?>
Message successfully sent!"); } else { echo("
Message delivery failed...
"); } ?>
where am i going wrong? The script works on other hosts...


LinkBack URL
About LinkBacks
Reply With Quote

