ddeboer/imap — pull request #56 by ctalbot (2014-09-15 11:40:16+00:00)
Title: Dev with attach

Fixes #55. This is a new PR to fix the referenced issue. My original code used an ArrayCollection which seemed like overkill for the problem at hand.

This new approach simply iterates over the part parameters and if the attributes 'name' or 'filename' are found, iteration stops and the flag is set to true.