Jump to content

mail() not getting through to hotmail.


seany123

Recommended Posts

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

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.

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.