Re: emailing MySQL list not working
| From: | Marco Kaiser | Date: | Sat, 12 Nov 2005 10:14:00 +0000 |
| Subject: | Re: emailing MySQL list not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225669@lists.php.net to get a copy of this message | ||
Hi,
try to add in your $headers linebreaks. ("\r\n").
-- Marco
> $headers = "From: $sender";
> $headers .= "Reply-To: $reply_to";
> $headers .= "Return-Path: $return_path";
> $headers .= "X-Sender: $x_sender";
> $headers .= "X-Mailer: PHP4\n"; //mailer
> $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
> $headers .= "Mime-Version:1.0\n Content-Type: text/plain;
> charset=\"iso-8859-1\nContent-Transfer-Encoding: 8bit\n";