I digged a bit deeper ... now it seems that there is double encoding going on inside formmail.php: below is the cut of the message as it is leaving webserver (notice that the MIME header is set correctly to utf-8, but the contents of the form (e.g. realname, message etc) are double encoded making "&" => "&" which is then not being displayed correctly by the email clients on the receiving end...
Received: (from httpd@localhost)
by web161.opentransfer.com (8.12.11.20060308/8.12.11) id lBK0Bu5b022188;
Wed, 19 Dec 2007 18:11:56 -0600
Date: Wed, 19 Dec 2007 18:11:56 -0600
Message-Id: <200712200011.lBK0Bu5b022188@web161.opentransfer.com>
To: temp@myusaauto.com
Subject: Sample FormMail Testing
From: Имя@sdf.cvb;;;;;; (=?utf-8?B?JiMxMDQ4OyYjMTA4NDsmIzExMDM7ICYjMTA1MDsmIzEwODM7JiMxMDgwOyYjMTA3NzsmIzEwODU7JiMxMDkwOyYjMTA3Mjs=?=)
MIME-Version: 1.0 (produced by FormMail 8.03 from www.tectite.com)
Content-Type: text/html; charset=UTF-8
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on localhost
X-Spam-Status: No, score=0.3 required=5.0 tests=ALL_TRUSTED,HTML_30_40,
HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML,MIME_HTML_ONLY
autolearn=disabled version=3.0.2
X-Spam-Level:
<html>
<body>
<p>Сообшение через форму вебсайта:</p>
<table border="0">
<tr>
<td>Имя Клиента:</td>
<td><b>&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;</b></td>
</tr>
<tr>
<td>Email address:</td>
<td><b>&#1048;&#1084;&#1103;@sdf.cvb</b></td>
</tr>
<tr>
<td>Сообшение:</td>
<td><b>&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;<br />
&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;<br />
<br />
&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;<br />
&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;&#1048;&#1084;&#1103; &#1050;&#1083;&#1080;&#1077;&#1085;&#1090;&#1072;</b></td>
</tr>
</table>
</body>
</html>


Reply With Quote

Bookmarks