function decodeMime($body, $bound, $type0, $type1) {
- echo "$type0/$type1<BR>";
+// echo "$type0/$type1<BR>";
if ($type0 == "multipart") {
if ($body[0] == "")
$i = 1;
/** This gets one entity's properties **/
function getEntity($body, $bound, $type0, $type1, $encoding, $charset) {
- echo "$type0/$type1<BR>";
+// echo "$type0/$type1<BR>";
$msg[0]["TYPE0"] = $type0;
$msg[0]["TYPE1"] = $type1;
$msg[0]["ENCODING"] = $encoding;
$body[$q] = "$body[$q]\n"; // maybe should be \n.. dunno
}
}
+ for ($q=0;$q < count($body);$q++) {
+ $body[$q] = ereg_replace("=3D", "=", $body[$q]);
+ }
$newbody = $body;
} else {
$newbody = $body;