|
|
@ -996,10 +996,14 @@ function rcmail_parse_message(&$structure, $arg=array(), $recursive=FALSE)
|
|
|
|
$sa_inline_objects[] = $mail_part;
|
|
|
|
$sa_inline_objects[] = $mail_part;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// is regular attachment
|
|
|
|
// is regular attachment
|
|
|
|
else if ($mail_part->filename)
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!$mail_part->filename)
|
|
|
|
|
|
|
|
$mail_part->filename = 'file_'.$mail_part->mime_id;
|
|
|
|
$a_attachments[] = $mail_part;
|
|
|
|
$a_attachments[] = $mail_part;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if this was a related part try to resolve references
|
|
|
|
// if this was a related part try to resolve references
|
|
|
|
if ($message_ctype_secondary=='related' && sizeof($sa_inline_objects))
|
|
|
|
if ($message_ctype_secondary=='related' && sizeof($sa_inline_objects))
|
|
|
|