RE: [PHP] MAIL
| From: | John W. Holmes | Date: | Sat, 12 Apr 2003 02:34:29 +0000 |
| Subject: | RE: [PHP] MAIL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143590@lists.php.net to get a copy of this message | ||
> I am trying to use the mail function in php to send an e-mail composed
of
> html tags. The problem is that everytime I attempt to generate the
e-mail,
> the user sees a bunch of tags instead of a nicely display table with
info
> in it.
Make sure you send the right Content-Type: header for one. Do a search
for "HTML Mail" and you'll get plenty of examples of how to do this.
Some ready-made classes to do this for you are available at
phpclasses.org.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/