RE: [PHP] Dynamic HTML Email
| From: | Jesse Cablek | Date: | Fri, 20 Sep 2002 20:52:04 +0000 |
| Subject: | RE: [PHP] Dynamic HTML Email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117056@lists.php.net to get a copy of this message | ||
Mike Dunlop <mailto:webmaster@awn.com> scribbled;
>
> Hello,
>
> I am wondering how it would be possible to generate an html response
> email via a PHP script. I have tried and all that has happened is the
> html source code appears in the message body as plain text. I believe
> this is happening because the email needs an additional header
> stating the email needs to be parsed as html not plain text (or both).
>
You can try sending Content-Type: text/html\r\n to see if that helps,
otehrwise the mail client may be set for text-only.
-jesse