[thelist] PHP mail headers

Jeremy Ashcraft ashcraft at 13monkeys.com
Wed Sep 26 11:18:16 CDT 2001


You might try removing the \r from you $headers string and just use \n.  

jeremy

> while($row = mysql_fetch_array($sql_result)) {
>      $email = $row["email"];
>      $firstname = $row["firstname"];
>      $secondname = $row["secondname"];
>
>      $headers ="From: mailinglist at pauloakenfold.com\r\nReply-To:
> mailinglist at pauloakenfold.com\r\nTo: '".$firstname." ".$secondname."'
> <".$email.">";
>
>      mail($email,$subject,$body,$headers);
> }





More information about the thelist mailing list