cancel
Showing results for 
Search instead for 
Did you mean: 

Sender mail adapter : How to get mail in both payload AND attachment ?

Former Member
0 Kudos

Hi,

I need to get the mail content both ways every time :

-In attachment in order to store it later.

-In payload in order to use it.

I don't see any way to do this. Any ideas ?

JB.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi,

You can have access to the payload without further steps. In order to get your message's attachments, try using a UDF in message mapping. See here for an example code:

Hope this helps,

Grzegorz

Former Member
0 Kudos

Thanks for that fast answer.

But I have no problems with reading the payload content or accessing any attachment.

My issue is the following : I need to push the payload content as an attachment before sending the message to the Abap Proxy.

Scenario is the following :

Mail box --> PI --> ECC/Abap Proxy.

I already store all the attachment during the proxy execution, I would like to be able to do the same withe the mail content.

Edited by: JB CABIRO on Jan 13, 2012 4:12 PM

Former Member
0 Kudos

Hi,

No one as ever experienced this requirement ?

regards,

JB.