If you read up about 10 messages you'll get the answer. Also, RTFM. (Don't ask what that means, because if you read up 10 messages you'll find out)
http://www.php.net/manual/en/function.mail.php ----- Original Message ----- From: "Salman Ahmed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 12, 2002 9:25 PM Subject: [PHP] Sending Html Pages Hi, I am trying to send html pages via email, that is instead of sending plain text format to the client I am trying to send Rich Text using mail function of PHP. At first I was sending -------------------------- Hello Bob, Thanks for downloading this from my site -------------------------- BUT for Rich Text I am doing -------------------------- <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'> <html> <head> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> </head> <body> <div align="left"> <table border="0" cellpadding="10" cellspacing="0" width="500"> <tr> <td> <font face="Verdana" size="2"> Hi, <br> Thanks for downloading this from my site </font> </td> </tr> </body> </html> -------------------------- But what happens is instead of sending html page it sends as a text with all code displayed as it is without being parsed. Please tell what can I do to send rich text emails as the this one u are reading to the clients using PHP mail function. Kind Regards Salman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php