#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

     
  • Jonathan Angliss

    • status: open --> closed-fixed
     
  • Jonathan Angliss

    Thanks for the report. I've fixed it a slightly different way, as this would introduce a redundant if statement. Changes committed to SVN.

     
  • Jonathan Angliss

    • assigned_to: nobody --> jangliss
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks