Re: How do I tell the mail function that the message content is HTML?
| From: | Jason Stechschulte | Date: | Wed, 19 Sep 2001 12:17:20 +0000 |
| Subject: | Re: How do I tell the mail function that the message content is HTML? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67828@lists.php.net to get a copy of this message | ||
On Tue, Sep 18, 2001 at 05:24:37PM -0400, Salty Marine wrote:
> How do I tell the mail function that the message content is HTML?
RTFM:
http://www.php.net/manual/en/function.mail.php
/* If you want to send html mail, uncomment the following line */
$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
--
Jason Stechschulte
jpstech@unoh.edu
--
Perl itself is usually pretty good about telling you what you shouldn't
do. :-)
-- Larry Wall in <11091@jpl-devvax.JPL.NASA.GOV>