View Full Version : HTML Email equal (=) signs problem
04-10-2003, 10:55 AM
I'm using PHP to send out multipart (text and HTML) emails. The problem I have is that wherever an equals signs exists in the HTML email, the following two characters are removed during the send. So:
<body bgColor="#ffffff"> becomes <body bgColor=ffffff">
04-10-2003, 11:33 AM
This thread (http://www.aota.net/forums/showthread.php?postid=47436#post47436) provided the answer.
Essentially my problem is to do with Quoted-Printable Content-Transfer-Encoding and it's use of equal sign to identify and maintain the output representations of special characters.
So I've just done a replace on the string :
ereg_replace("=", "=3D", $sTheString);
vBulletin® v3.6.8, Copyright ©2000-2013, Jelsoft Enterprises Ltd.