On 11/02/2003 11:20 PM, Ronald Wiplinger wrote:
How can I send a HTML email via php?
Usually it is a matter of setting the right content-type header. However, you can't send plain HTML messages at the risk of having them discarded by anti-spam filters.
What you need to do is to compose a multipart/alternative message that contains both a plain text and and HTML alternative versions in the same body. The plain text part may just have a text saying that it is a HTML message, but it is necessary.
In that case, you may want to try this PHP class that makes it easy to compose and send HTML messages, including embedding images or attachments if necessary:
Regards, Manuel Lemos
Free ready to use OOP components written in PHP http://www.phpclasses.org/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php