For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > August 2004 > Re: [PHP-DB] E-mail as HTML









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] E-mail as HTML
Justin Patrin

2004-08-26, 3:55 am

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--
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com