THIS IS THE ACTION PAGE";
// SEND MAIL TO EACH RECIPIENT
foreach ($to as $recipient)
{
if (!mail( $recipient, $subj, $content, "From: $from\r\n"))
{
echo " MAIL FAILED FOR $recipient";
}
else
{
echo " MAIL WORKED FOR $recipient";
}
}
} // END OF PHP - PUT UP THE FORM
?>
|