diff options
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/func.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 70cd2c45e..e10843bd3 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -836,8 +836,7 @@ function rcmail_message_body($attrib) $ctype_secondary = strtolower($MESSAGE->structure->ctype_secondary); // list images after mail body - if (get_boolean($attrib['showimages']) - && $CONFIG['inline_images'] + if ($CONFIG['inline_images'] && $ctype_primary == 'multipart' && !empty($MESSAGE->attachments) && !strstr($message_body, '<html')) |