|
Posted by lawrence k on 05/17/06 04:06
I needed a simple way to send out some mail, so I went to www.php.net
and copied their example code:
http://us3.php.net/manual/en/function.mail.php
The form I used to compose the email was different from the php.net
example, but in terms of formatting the headers, the code is nearly
identical:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $returnAddress \r\n" ;
$success = mail($thisEmail, $emailSubject, $emailMainContent,
$headers);
I sent this out. But several (not all) of the receipents tell me that
instead of HTML mail, they got mail with visible <br> tags
Navigation:
[Reply to this message]
|