![]() |
| Hotmail rejecting emails? |
|
rpcarnell
|
I have a script that sends people a confirmation E-mail each time they register. The problem is that hotmail considers these emails spam. Either it sends them straight to the garbage can, or these emails aren't sent to the users at all.
How do I solve this problem? $encoded_email = urlencode($_POST['email']); $headers_x .= 'From: Pilando <personal@pilando.com>' . "\r\n"; $headers_x .= 'MIME-Version: 1.0' . "\r\n"; $headers_x .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $mail_body = <<< EOMAILBODY Gracias por registrarse en nuestra página. Vaya a este link para confirmar su registro: http://www.pilando.com/confirm.php?hash=$hash&email=$encoded_email Gracias por su interés. EOMAILBODY; mail ($email, 'Confirme su membresía en Pilando.com', $mail_body, $headers_x); |
||||||||||||
|
|
|||||||||||||
|
nathacof
|
http://phpmailer.sourceforge.net
Use PHP mailer to relay through your shared email server. It's very likely your web server is on a blacklist, whereas your mail server is protected from these problems by our spam firewall. In other words Hotmail is more likely to accept mail that's coming from an actual mail server rather than directly from the postfix MTA which is used with the PHP function mail(). |
||||||||||||
|
|
|||||||||||||
|
rcorbin
|
If its just hotmail filtering your messages you can contact them here:
https://support.msn.com/eform.aspx?productKey=edfsmsbl&ct=eformts They mainly ask about mailing lists. If you dont have a mailing list simply tell them that. If you need help with filling that out let me know, I've dealt with similar issues a few times with hotmail and was able to get them resolved it just took a few days. |
||||||||||||
|
|
|||||||||||||
| Hotmail rejecting emails? |
|
||
|


