Reputation: 750
In a package where I harvest all mail attachments (example found here:cozyroc documentation), I would like to read the attachment filename and according to that, store attachments in different folders.
Anyone knows if and how can I do this using Cozyroc?
Upvotes: 1
Views: 228
Reputation: 5707
It doesn't look like there's an easy way to extract the attachment file names from the CozyRoc email object. What I would do is save all attachments to a single "staging" folder, then create a For Each Loop to loop through all the files in that staging folder, and then use File System tasks to move the files.
Upvotes: 1