I have writen a login script for a client and this script has confirmation email sent as soon as the person signs up.
$subject = 'Confirmation';
$body = 'Dear '.$username.",\n\n";
$body = $body.'Thank you for signing up with Sites Name.'."\n";
$body = $body.'Please go to the link below to confirm your account.'."\n\n";
$body = $body.'http://'.$HTTP_HOST.'/confirm.php?con_number='.$confirmation."\n\n";
$body = $body."Thank you, \n Sites Name";
$from = 'From: [email protected]_name.com';
mail($email, $subject, $body, $from);
My Client is saying that the email does not always get sent; especually to hotmail accounts. In the past I have used this script multible times on multible site and have never had this issue before.
Any thoughts on this would be greatly appreciated...