seany123 Posted September 8, 2009 Share Posted September 8, 2009 for some reason this code below isnt getting through to hotmail email addys. <?php $insertid = $db->Insert_ID(); $email=$_POST['email']; $thekey=$string; $user = $_POST['username']; $pass = $_POST['password']; $subject = 'Mafiakillerz Activation!'; $message = "Thank you for registering at Mafiakillerz, please activate your account at: http://mafiakillerz.co.cc/validate.php?email=$email&string=$string You can login to the game after activating account at: http://www.mafiakillerz.co.cc with the following details: Username : $user password: $pass Best Regards Mafiakillerz Admin Team."; $headers = "From: [email protected]\r\nReply-To: [email protected]"; mail($_POST['email'], $subject, $message, $headers); ?> i havnt yet tried yahoo. Link to comment https://forums.phpfreaks.com/topic/173552-mail-not-getting-through-to-hotmail/ Share on other sites More sharing options...
ignace Posted September 8, 2009 Share Posted September 8, 2009 On PHP.net Note: If messages are not received, try using a LF (\n) only. Some poor quality Unix mail transfer agents replace LF by CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with » RFC 2822. Link to comment https://forums.phpfreaks.com/topic/173552-mail-not-getting-through-to-hotmail/#findComment-914832 Share on other sites More sharing options...
seany123 Posted September 8, 2009 Author Share Posted September 8, 2009 On PHP.net Note: If messages are not received, try using a LF (\n) only. Some poor quality Unix mail transfer agents replace LF by CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with » RFC 2822. what does that mean? Link to comment https://forums.phpfreaks.com/topic/173552-mail-not-getting-through-to-hotmail/#findComment-914842 Share on other sites More sharing options...
ignace Posted September 9, 2009 Share Posted September 9, 2009 Use \n only instead of \r\n Link to comment https://forums.phpfreaks.com/topic/173552-mail-not-getting-through-to-hotmail/#findComment-915322 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.