While I understand the necessity in not answering every question that a newbie may post, a more pleasant approach would have been:
"the following is documented at http://www.php.net/manual/en/function.mail.php" or "see the Content-Type: header for instructions on how to do this". Do you think someone who won't read the docs, or search the archives, prior to the question understands what RTFM means? My recommendation: http://phpmailer.sourceforge.net While this is not using the mail() function, it is a more robust, more functional method of sending mail, including multi-part, SMTP-Auth, attachments, etc, that works with a variety of MTAs including Sendmail, Qmail, and direct SMTP transport. -- Michael Geier CDM Sports, Inc. - Systems Administrator email: [EMAIL PROTECTED] Quoting Liam MacKenzie <[EMAIL PROTECTED]>: > RTFM > http://www.php.net/manual/en/function.mail.php > > > > ----- Original Message ----- > From: "Alex Shi" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, May 12, 2002 10:00 AM > Subject: [PHP] Send html email > > > Hi! > > How can I send a html email with just the build-in function mail()? > Is this required to put some infomation in "header" field? Thanks > in advance! > > Alex > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ------------------------------------------------- This mail sent through CDM Sports Webmail. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php