mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-06 00:04:01 +01:00
List related text/html part as attachment in plain text mode (#1488677)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
CHANGELOG Roundcube Webmail
|
||||
===========================
|
||||
|
||||
- List related text/html part as attachment in plain text mode (#1488677)
|
||||
- Use IMAP BINARY (RFC3516) extension to fetch message/part bodies
|
||||
- Fix folder creation under public namespace root (#1488665)
|
||||
- Fix so "Edit as new" on draft creates a new message (#1488687)
|
||||
|
||||
@@ -494,8 +494,13 @@ class rcube_message
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
// part message/*
|
||||
else if ($primary_type == 'message') {
|
||||
|
||||
Reference in New Issue
Block a user