[PHP-DB] Re: HTML mail

2003-11-03 Thread pete M
I use the class object

http://phpmailer.sourceforge.net/

makes life a doddle
pete
Ronald Wiplinger wrote:
I got an interesting program to do:

For an MLM company I should make the news letter from the upline to the
direct downline (A sends emails to his NEXT DIRECT downline B1~ B12 emails)
To use a database with the from-line and the (three only) to-lines from 
the same data
base is easy. HOWEVER, they want me to send HTML emails (with their
products )

How can I send a HTML email via php?

bye

Ronald

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: HTML mail

2003-11-02 Thread Manuel Lemos
Hello,

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:

http://www.phpclasses.org/mimemessage

--

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