0810
11-17-2002, 11:37 PM
hi how are you doing?
What I am trying to do is if I typed right password, I will be able to send my message to my friends.
but It seems to be working but I don't get anymessage from my e-mail when I test this script.
could you check it out what is wrong
if($password=='mypassword'){
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$ito="Information:\t\t$info\n<br>";
$ito.="Date:\t\t$date\n<br>";
$ito.="Location:\t\t$location\n<br>";
$ito.="Cost:\t\t$cost\n<br>";
$ito.="Content:\t\t$content\n<br>";
$fp = mail("itohideoitotakao@yahoo.com,friend1@yahoo.com,friend2@yahoo.com, friend3@yahoo.com, friend4@yahoo.com, friend5@yahoo.com, friend6@yahoo.com", "Event information from itohideo.com",$ito, $headers,"From:itohideo\r\n"."Reply-To:Hideo's Friend");
print("Thanks from itohideo.com");
}
else{
print("your password is incorrect. itohideo! check your password again\r\n");
}
?>
What I am trying to do is if I typed right password, I will be able to send my message to my friends.
but It seems to be working but I don't get anymessage from my e-mail when I test this script.
could you check it out what is wrong
if($password=='mypassword'){
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$ito="Information:\t\t$info\n<br>";
$ito.="Date:\t\t$date\n<br>";
$ito.="Location:\t\t$location\n<br>";
$ito.="Cost:\t\t$cost\n<br>";
$ito.="Content:\t\t$content\n<br>";
$fp = mail("itohideoitotakao@yahoo.com,friend1@yahoo.com,friend2@yahoo.com, friend3@yahoo.com, friend4@yahoo.com, friend5@yahoo.com, friend6@yahoo.com", "Event information from itohideo.com",$ito, $headers,"From:itohideo\r\n"."Reply-To:Hideo's Friend");
print("Thanks from itohideo.com");
}
else{
print("your password is incorrect. itohideo! check your password again\r\n");
}
?>