$subject="Test email";
$body="
";
$body.="Thank you for registering with us. Please Activate your account by clicking the activation link ";
$body.="
Test link
";
$body.="";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-Type: text/html; charset=iso-8859-1'."\r\n";
$headers .= 'From: data@basicresponders.in'."\r\n".'Reply-To: data@basicresponders.in'."\r\n";
$status=mail("you@domain.com",$subject,$body,$headers);
if($status){
echo "Worked";
}else{
echo "Error in sending mail";
exit();
}