Hi Salvador, Here's an example of a big HTML mail with PHP (I took this from the reference manual). You don't have to include things like additional recipients, or the carbon-copy/blind-carbon-copy, if you don't need them. those are all for just sending the e-mail to more people, and you can leave out the code for them if you are only sending the e-mail to one person.
<? // ====================================== // main recipient // ====================================== $to = "Jorge <[EMAIL PROTECTED]>"; // ====================================== // additional recipients // ====================================== $to .= " , "; $to .= "Ernesto <[EMAIL PROTECTED]>"; $to .= " , "; $to .= "Juan Pablo <[EMAIL PROTECTED]>"; // ====================================== // subject of email // ====================================== $subject = "Hola!"; // ====================================== // HTML email message // ====================================== $message = ' <html> <body> <b>Como estas?</b> </body> </html> '; // ====================================== // this makes it into a HTML message // ====================================== $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; // ====================================== // sender of the e-mail (your info) // ====================================== $headers .= "From: Salvador Gil <[EMAIL PROTECTED]>\r\n"; // ====================================== // carbon-copy and/or blind-carbon-copy // ====================================== $headers .= "Cc: [EMAIL PROTECTED]\r\n"; $headers .= "Bcc: [EMAIL PROTECTED]\r\n"; // ====================================== // send the e-mail // ====================================== mail($to, $subject, $message, $headers); ?> -----Original Message----- From: Salvador Gil [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 6:06 PM To: [EMAIL PROTECTED] Subject: [PHP-INST] Mail in HTML Format Any body can help me? I trying to send a mail in HTML Format, but I get it in text format. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php