cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Sender adapter to process text file attachment

PallaviU
Participant
0 Kudos

Hi Experts,

I have requirement to process the text file attachment from Mail and process it to ERP side.I have did the same for XML attachment.In File adapter I can specify the delimiters and all. But how can I specify the same for Mail adapter.It is throwing mapping runtime error. What adapter need to be used? I am using version 7.5 single stack.

Can anyone suggest about this?

Thanks in Advance

Pallavi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

Hi Pallavi!

You might consider using PayloadSwapBean to set your attachment as main payload and MessageTransformBean to convert flat file structure to XML structure.

Another option is to refer to SAP Note 2040884-Processing Mail attachments as PI messages to split source message with attachments into set of separate messages with attachments as main payloads and use MessageTransformBean to convert flat file structure to XML structure.

Regards, Evgeniy.