git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@120
7612ce4b-ef26-0410-bec9-
ea0150e637f0
function decodeMime($body, $bound, $type0, $type1, &$entities) {
if ($type0 == "multipart") {
$bound = trim($bound);
function decodeMime($body, $bound, $type0, $type1, &$entities) {
if ($type0 == "multipart") {
$bound = trim($bound);
while (($i < count($body)) && (substr($body[$i], 0, strlen("--$bound--")) != "--$bound--")) {
if (trim($body[$i]) == "--$bound") {
$j = $i+1;
while (($i < count($body)) && (substr($body[$i], 0, strlen("--$bound--")) != "--$bound--")) {
if (trim($body[$i]) == "--$bound") {
$j = $i+1;