Skip to Content
Former Member
Jul 14, 2016 at 01:34 PM

Mail (zip mail attachments) to File (unzip)



My scenario is Mail to File. PI (7.40) has to pick multiple PDF documents from email and place them on receiver File system with the same name. In this case, I have using blog Attachments zipping during Mapping created by Praveen Gujjeti


At execution

1. I can see that, there are 2 attachments in incoming message

2. After mapping, I can see that the attachments are getting zipped with message id as in name. - like in below screenshot

3. I don't know why it is showing like "application/xml"

At receiver side

1. I have to use File Adapter to place the zip file on file system

Issues/Need Suggestions

1. I don't know how to place this on file system

2. What file name should i provide on receiver file adapter

3. what about remaining 2 attachments - i need only the zipped file

4. How to unzip the file and place the files with the same name on receiver file system

Thanks for your kind help in advance.