cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI Email adapter

Former Member
0 Kudos

Hi Friends,

I have an SFTP to Email interface. where Source file is an XML format and I can able to achieve email as per the requirement. But I need to send entire source xml as attachment in Email along with my content in email. Is it possible using Payload swap bean in Email adapter?

Please advise?

Note : I am using Mail Package for Email content.

Thanks,

Dinesh

Accepted Solutions (0)

Answers (1)

Answers (1)

nitindeshpande
Active Contributor
0 Kudos

Hello Dinesh,

Yes, this is possible using Payload Swap bean. Please refer to below blog for the same -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5...

Let us know how it works out.

Regards,

Nitin

Former Member
0 Kudos

Hi Nitin,

It doesn't work as excepted because in my email body I have some content for which I am using mail package. So if I use Mail package along with attachment with Payload swap module my output is my content in attachment. So I am not getting source xml in email as attachment.

Let me know if I am missing something.

Regards,

Dinesh Babu

former_member182412
Active Contributor
0 Kudos

Hi Dinesh,

Check Scenario 3 in below blog

Regards,

Praveen.