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: admin@mafiakillerz.co.cc\r\nReply-To: admin@mafiakillerz.co.cc";
                        mail($_POST['email'], $subject, $message, $headers);
?>

 

i havnt yet tried yahoo.

Link to comment
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.

 

 

what does that mean?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.