Characters missingin mail source???
| From: | Disko_kex | Date: | Mon, 06 Oct 2003 09:40:16 +0000 |
| Subject: | Characters missingin mail source??? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21689@lists.php.net to get a copy of this message | ||
Hi again.
I've got this annoying problem. I made a program that sends mail to my
customers, like a newsletter. The mail is in HTML and each mail is about
2000 chars, depends on the customers info. The problem I have is that
there is a lot of characters missing in the mail source when the mail is
delivered.
Ex:
"<tr><td>2003-03-03</td></tr>"
shows like this in the email source "tr><td>203-03-03</td/tr>" there
is no logical structure for which characters is missing, it's different
everytime. Im running apache 1.3.28 and PHP 4.3.3, I tried IIS with PHP
4 and 5 with the same result.
The source for the mail is stored in a normal $message = array(); where
$message[$id]; is the mail source for the specific customer. If I print
$message[$id] from the program everything show correctly.
mail($mail_to, $subject, $message_head.$message[$key].$message_foot,
"From: Redaktionen
<redaktionen@lokalguiden.se>\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html;
charset=iso-8859-1\r\n"
."Reply-To: redaktionen@lokalguiden.se\r\n"
."X-Mailer: PHP/" . phpversion());
Should I change something?
Any idea what I should do??