"Cesar Aracena" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
> For some e-mail servers, you have to write lots of "extra headers" in
> the e-mails in order to pass their guard.
[/snip]

True! But actually, I' ve seen people using only the 'From:' header to send
mail. Emails can then be dropped easily by servers thinking it is spam.

Ben, I don't know what headers you send, but you could try these headers:

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/plain; charset=iso-8859-1\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-MSMail-Priority: Normal\r\n";
$headers .= "X-Mailer: PHP/".phpversion()."\r\n";
$headers .= "From: Name <[EMAIL PROTECTED]>\r\n";
$headers .= "Reply-to: Name <[EMAIL PROTECTED]>\r\n";
$headers .= "Return-path: Name <[EMAIL PROTECTED]>\r\n";
$headers .= "Error-to: Name <[EMAIL PROTECTED]>\r\n";

mail("Yourname <[EMAIL PROTECTED]>", "Subject", $body, $headers);



HTH,

Ivo



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to