0 and strlen($friend_email)>0){
$To=$friend_email;
$from=$your_email;
$subject="Have a look!!!";
$message1 ="Hi ".$friend_name.",
";
$message1 .=$your_name." has recommended this website, as ".$your_name." thinks you will like it.
To view the website please click on the following link.
".$baseurl."
Regards,
".WEBSITE_NAME." Team";
@mail("$To", "$subject", "$message1","From: $your_name<$from>\r\n"."Content-Type: text/html; charset=iso-8859-1\n"."X-Mailer: PHP/" . phpversion());
echo "";
exit;
}
}
?>