#2660 SM doesn't show all mail attachments

closed-fixed
5
2009-11-22
2009-07-31
mbo
No

I've got a tricky mail with an attached pdf-file. Squirrelmail doesn't show it. I'll attach the mailsource to this ticket. It has "multipart"-elements inside a "multipart"...

I fixed it by adding
...
} else if (($entity->type0 == 'multipart') && ($entity->type1 == 'related')) {
$result = $entity->getAttachments($exclude_id, $result);
}
...
to the getAttachments()-function in class/mime/Message.class.php. Perhaps, there's another way to fix this bug.

Discussion

  • mbo
    mbo
    2009-07-31

    Mailsource

     
    Attachments
    • status: open --> closed-fixed
     
  • Thanks for the report. I've fixed it a slightly different way, as this would introduce a redundant if statement. Changes committed to SVN.

     
    • assigned_to: nobody --> jangliss