i face this strange problem, i want the user to click on a link send by email so that his account will be activated but when i put a link or url the email is not sent, and when i put text it is sent i use this code
<?
$to = "ree@hotmail.com";
$subject = "check email send";
$from = "ree1@hotmail.com";
$url = "www.moviescenter.net/activate.php?id=".$id;
$contents = "Check this out i send you an email click her to activate your account <a href =$url> Account Activation </A>";
$from_header = "From: $from";
if($contents != "")
{
//send mail - $subject & $contents come from surfer input
mail($to, $subject, $contents, $from_header);
// redirect back to url visitor came from
echo"thank you ";
}
else
{
print("<HTML><BODY>Error, no comments were submitted!");
print("</BODY></HTML>");
}
?>