The PHP mail() functtion csan send any ttype of email - to send HTML mail you need to supply a header of type text/html rather than text/plain. There are some mail classes with documentation, which you can use to send HTML (MIME) mail, mail with file attachments etc, here :

http://www.phpbuilder.com/columns/kartic20000807.php3 and here :
http://www.zend.com/apps.php?CID=169

Read this article and you will hav an excellent understanding of sending mail from PHP.

<< notes to add Terence to mail filters too :-)

BTW - it is easy to end up with your server on a blacklist if some of your 'prospects' complains they are getting unsolicited mail - ensure you are sending opt-in mail and you should have no problems - if you acquire 'prospects' from other sources, it is important to delete from your database any bounce or unread requests. It is also important that your unsubscribe works, but usually you would need to delete any prospects who have not replied to your mail within say 1 month. If you do not do this, you *are* a spammer.

Regards,
Neil Smith.

At 05:13 12/11/2002 +0000, you wrote:
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 12 Nov 2002 13:12:59 +0800 (CST)
From: =?big5?q?Terence=20Ng?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 8bit
Subject: HTML email marketing tool

Could someone provide me an HTML email marketing
(mailing list) script that allow me to capture the
prospects' email list from MySQL and send HTML email
through Windows 2000, IIS (Internet Information
Server)? The scripts I can find are either too heavy
or in Unix environment.  I consider this is not
spamming as I provide my prospects the option to
remove from the list if I receive their email request.
 email() can only send text message.  So, what should
I do?

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

Reply via email to