cancel
Showing results for 
Search instead for 
Did you mean: 

Unzip attachment in Mail adapter or/ File Adapter

Former Member
0 Kudos

Hi everyone,

I need to get flat file from .zip attachment that comes with mail? Is it possible to get it with Mail adapter, unzip it and then make conversion? All steps in the Integration engine?

Another option can be get .zip with File adapter, but again how to unzip it?

Thanks,any help appriciated as I am doing my first XI project.

Nataliya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Unzip your Payload with the PayloadZipBean module of the XI Adapter Module. You can go in adapter modules in communication channel and use the PayloadZipBean to unzip your attachments. You can also send Multiple Files to Zipped Mail Attachment.

Adios

Ravijeet

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Simply use 'MessageTransformBean' adapter module in mail adapter instead of thinking about using file content conversion.

http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm

Regards,

Prateek

Former Member
0 Kudos

Thanks a lot, guys. Unzipping is clear now.

Prateek, it would be great if you can you point to "how-to" file or example for MessageTransformBean.

Regards,

Nataliya

Shabarish_Nair
Active Contributor
0 Kudos

>

> Thanks a lot, guys. Unzipping is clear now.

>

> Prateek, it would be great if you can you point to "how-to" file or example for MessageTransformBean.

>

> Regards,

>

> Nataliya

ref this https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb155...