2008/3/12, Daniel Brown <[EMAIL PROTECTED]>:
>     You have the From: header parameters reversed.  Try this:
>
>  <?
>  $headers  = "From: ".$fromname." <".$email.">\r\n";
>  $headers .= "Reply-To: ".$email."\r\n";
>  $headers .= "X-Mailer: PHP/".phpversion()."\r\n";
>  /*
>     ....
>  */
>  ?>

you can add these headers:

$header = "From: $fromname<$email>\n";
$header .= "Reply-To: $email\n";
$header .= "Return-Path: <$email>\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "MIME-Version: 1.0\n";
$header .= "Content-type: text/plain; charset=iso-8859-1\n";
$header .= "Content-Transfer-encoding: 7bit\n";

Try it.

-- 
Scripts: http://www.spacemarc.it

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

Reply via email to