Click to See Complete Forum and Search --> : Hotmail E-mail spam problem


rpcarnell
08-19-2007, 04:11 PM
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);

_________________________________________
http://www.carbotek.org

hastx
08-19-2007, 10:28 PM
Usually spam issues are because your server is on a blacklist someplace, or your server is misconfigured.

You could also try adding more content to the message body. small unpersonalized emails can look like unsolicited mail.