Re: [PHP] Send mail in HTML FORMAT

2002-11-03 Thread Jennifer Swofford
You also need to add the text/html header, such as: $headers = "Content-Type: text/html \r\n"; mail("[EMAIL PROTECTED]", "subject",$out , "From: website", $headers); jen > I read from a template, insert data and save it as a new file with html > code... > i want to send that file that is the sa

RE: [PHP] send mail in HTML format in Mail Function

2001-04-01 Thread Tyler Longren
$recipient = "Recipient <[EMAIL PROTECTED]>" $headers .= "From: name <[EMAIL PROTECTED]>\n"; $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "X-Priority: 1\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $message = "This is HTML!!!See!!!";