I am trying to send mail in php, it returns true but the mail is not delivered.
$To = $email;
$Sub = "Reset Password";
$Msg = "Please click on the given link or copy url to reset your password<br/>";
$Msg .= "mydomain/password_reset.php?Note=".$random_note."&uid=".$c_id."&email=".$email;
$Header = "MIME-Version: 1.0" . "\r\n";
$Header .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$Header .= 'From: Admin <admin mail>' . "\r\n";
if (mail($To,$Sub,$Msg,$Header))
{
echo "Please confirm your email to reset your password<br/>";
echo "Email temporarily Displayed here</br>".$Msg;
exit();
}