Re: E-mail as HTML
| From: | Justin Patrin | Date: | Thu, 26 Aug 2004 05:00:54 +0000 |
| Subject: | Re: E-mail as HTML | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35888@lists.php.net to get a copy of this message | ||
On Thu, 26 Aug 2004 12:44:41 +0800, Hafidz Abdullah <hafidz@calistra.com> wrote:
> Hi everyone.
>
> In PHP, how do I submit data by e-mail as HTML to a specified address? And where can I find
> samples of that in http://www.php.net/ ?
>
> Thanks & regards,
> Hafidz
Send a Content-Type: text/html header. *or* send a
multipart/alternative message with one as text and one as html. The
easy way to do this is to use a package which does it for you already:
http://pear.php.net/package/Mail_mime
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--