|
|
@ -494,9 +494,14 @@ class rcube_message
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// list as attachment as well
|
|
|
|
// list as attachment as well
|
|
|
|
if (!empty($mail_part->filename))
|
|
|
|
if (!empty($mail_part->filename)) {
|
|
|
|
|
|
|
|
$this->attachments[] = $mail_part;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// list html part as attachment (here the part is most likely inside a multipart/related part)
|
|
|
|
|
|
|
|
else if ($this->parse_alternative && ($secondary_type == 'html' && !$this->opt['prefer_html'])) {
|
|
|
|
$this->attachments[] = $mail_part;
|
|
|
|
$this->attachments[] = $mail_part;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
// part message/*
|
|
|
|
// part message/*
|
|
|
|
else if ($primary_type == 'message') {
|
|
|
|
else if ($primary_type == 'message') {
|
|
|
|
$this->parse_structure($mail_part, true);
|
|
|
|
$this->parse_structure($mail_part, true);
|
|
|
|