Hi Phil,
I saw the same behavior for a Mail Server we are going against.  I am
thinking it would be great to have a configuration on the endpoint like
'useDispositionForAttachmentRetrieval'.  

There can a check around this block:

  if (disposition != null && (disposition.equalsIgnoreCase(Part.ATTACHMENT)
|| disposition.equalsIgnoreCase(Part.INLINE))) { }

The critical check on the file name should still be performed:

                    String fileName = part.getFileName();
                    if (fileName != null) 

I would be willing to work on a patch if the Camel commiters think this is a
good approach.

Thanks,
Yogesh

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Email-Component-Missing-Attachments-tp3386382p5095264.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to