RE: [PHP] sending html email from a web-based form
| From: | John W. Holmes | Date: | Mon, 18 Nov 2002 04:07:03 +0000 |
| Subject: | RE: [PHP] sending html email from a web-based form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124864@lists.php.net to get a copy of this message | ||
> Here is the code that is supposed to do what I want:
>
> $headers = "From: \"$name $last\" <$email>\n" . "Reply-To:
<$email>\n\n";
Try taking out the extra newline (\n) you have in the above line.
Actually, the headers are supposed to be separated by \r\n, instead of
just \n, also.
---John Holmes...