Hello,
On 06/04/2004 05:52 PM, Bill wrote:
I'm sending an autoresponder to our customers, through the php mail
function. However, when I add a hyperlink into the $message, instead
of a live link appearing, all that appears is the html code, without
the link.
To send HTML messages you need to encode them properly. This means you
need to have an alternative text part to the HTML part and both parts
must not contain 8 bit characters without being encoded preferrable with
quoted-printable encoding.
You may want to try this class to compose and send proper HTML messages.
Take a look at the example:
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html