Hello everyone, is it possible (in Alfresco 5.2 witdh sdk3) to extract email's attachments from the nodes that are emails (for example .msg files)? I've read the documentation to create custom metadata extractors, but I can not figure out if I can extract attachments as well. Also, if the above point were possible, could such attachments become custom properties (metadata) of the node? Thanks a lot.
Another option (and I'm not sure how closely this matches your requirement but it might give you a clue.)
The linked code allows you to reply to a message in a site discussion via email and as part of that process extracts any attachments from the incoming message and stores the attachment as a site document
Hi, thanks for yours response. In these days, i found an outlook plugin that copies an email with it's attachments (splitted from message) in an alfresco's folder such an seprated nodes! Now i need to create an an unique node with attachments readable. Following the roberto.gamiz response, i created a custom aspect with an association field. Then i created an action that attachs (as node's metadata) one o more node to a main node through this aspect . The problem is that these nodes attached aren't clickable and isn't possible open them! The solution proposed by idwright is very helpful but doesn't match my real requirement. So, i thinked to create a folder action that reads all file within a folder (containing email message and it's attachments) and creates one unique node with pdf mimetype that merges the messages and attachments email. I thought to use itext library and i hope this my idea is successfull.
You can easily extract email attachments from the IMAP server with the help of IMAP Attachment Extractor without making any changes to your documents. It allows your extract attachments in batch for quick processing. The IMAP Attachment Extractor is 100% safe and secure. It easily exports attachments of big and large files. (Excel, PDF, jpg, HTML and any other files). The software supports Windows 10,8.1,8.7,7, XP, and prior versions. IMAP Server Attachment Extractor extracts all your attachments very smoothly without formatting your data and any other files.