Skip to Content
Nov 01, 2016 at 07:51 PM

Reading mail content or attachment in sender mail adapter


Hi Experts,

We have a scenario where PI has to fetch mails using sender mail adapter .Earlier the flow was easy, that PI used to read the content from mail and using java function in mapping we used to extract data from mail content and send to FM in ECC.

But now the mail would have attachment and there are blog on how to read attachment.

But in our scenario , there will either be content in mail or attachment , and if content there then we have to read content and send to FM in ECC or if attachment then read attachement and send values to FM in ECC.

Any idea how this could be achived?