projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added "reply-to" capabilities
[squirrelmail.git]
/
functions
/
mime.php
diff --git
a/functions/mime.php
b/functions/mime.php
index
b1a9293
..
6182250
100644
(file)
--- a/
functions/mime.php
+++ b/
functions/mime.php
@@
-6,7
+6,7
@@
function decodeMime($body, $bound, $type0, $type1) {
function decodeMime($body, $bound, $type0, $type1) {
- echo "$type0/$type1<BR>";
+
//
echo "$type0/$type1<BR>";
if ($type0 == "multipart") {
if ($body[0] == "")
$i = 1;
if ($type0 == "multipart") {
if ($body[0] == "")
$i = 1;
@@
-42,7
+42,7
@@
/** This gets one entity's properties **/
function getEntity($body, $bound, $type0, $type1, $encoding, $charset) {
/** 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;
$msg[0]["TYPE0"] = $type0;
$msg[0]["TYPE1"] = $type1;
$msg[0]["ENCODING"] = $encoding;
@@
-125,6
+125,9
@@
$body[$q] = "$body[$q]\n"; // maybe should be \n.. dunno
}
}
$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;
$newbody = $body;
} else {
$newbody = $body;