Weird HTML encoding problem with PHP mail after upgrade (easyapache)

fcastro86

Member
Mar 20, 2012
20
0
51
cPanel Access Level
Root Administrator
Hi all, this is my situation, a few weeks ago I updated with easy apache to the newer version of php 5.3.10 however since then I'm having troubles with MIME emails send by php.

For example they look like this:

Code:
> --b1_2bb39feb7a737666e635a405ab038f87
> Content-Type: multipart/alternative;
> boundary="b2_2bb39feb7a737666e635a405ab038f87"
>
> --b2_2bb39feb7a737666e635a405ab038f87
> Content-Type: text/plain; charset = "UTF-8"
> Content-Transfer-Encoding: 8bit
>
>
> Has recibido una consulta desde luis en relación al producto:
> Nombre de producto: Kawasaki ZX10R 2006
> SKU del producto: 0002061
>
> Consulta: cunto por la moto?
> URL: urlremoved
>
> Mail mailto: email removed
>
>
> --b2_2bb39feb7a737666e635a405ab038f87
> Content-Type: text/html; charset = "UTF-8"
> Content-Transfer-Encoding: 8bit
>
>
> <html>
> <head>
> <title>Consulta de cliente</title>
> <style type="text/css">
> <!--
> .Stil1 {
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px;
> }
> .Stil2 {font-family: Verdana, Arial, Helvetica, sans-serif}
> -->
> </style>
> </head>
> <body>
>
> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="10" >
> <tr valign="top" bgcolor="#CCCCCC">
> <td align="left" class="Stil2" colspan="2">
> <b>Motopartes<b>
> </td>
> </tr>
> <tr>
> <td colspan="2">
> luis ha solicitado más información en removedurl &nbsp;(Product-SKU:&nbsp;0002061)
> </td>
> </tr>
> <tr>
> <td width="auto">
> <img src="cid:product_image" alt="product_image" border="0" /> </td>
> <td>
>
> </td>
> </tr>
> <tr><td>&nbsp;</td></tr>
> <tr align="left" bgcolor="#CCCCCC">
> <td class="Stil2" colspan="2">
> <b>Consulta</b>
> </td>
> </tr>
> <tr><td>&nbsp;</td></tr>
> <tr>
> <td colspan="2" style="border:1px solid #000000;">
> cunto por la moto? </td>
> </tr>
> <tr>
> <td colspan="2">
> luis, <a href="mailto:removedemail ">removed email</a>
> </td>
> </tr>
> </table>
>
> </body>
> </html>
>
>
>
> --b2_2bb39feb7a737666e635a405ab038f87--
> --b1_2bb39feb7a737666e635a405ab038f87
> Content-Type: image/jpeg; name="resized/Kawasaki_ZX10R_2_4ed5805fbaf22_90x90.jpg"
> Content-Transfer-Encoding: base64
> Content-ID: <product_image>
> Content-Disposition: inline; filename="resized/Kawasaki_ZX10R_2_4ed5805fbaf22_90x90.jpg"
>
> /9j/4AAQSkZJRgABAQAAAQABAAD//gA8Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg
> SlBFRyB2NjIpLCBxdWFsaXR5ID0gMTAwCv/bAEMAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
....
....
....
> ZTqKdOcJVZVKlKEqzg/fdRNRk5yveWqSvK7utXvf/9k=
>
>
> --b1_2bb39feb7a737666e635a405ab038f87--
Another example is with headers of some mails:

Code:
=?UTF-8?Q?[A_precio_de_robado]_New_Comment_On:_Angry_birds_tama=C3=B1o_re?= =?UTF-8?Q?al?=
I have google for a while, but seems quite rare, I hope somebody know what to do. Thaanks in advance.
 
Last edited by a moderator: