cancel
Showing results for 
Search instead for 
Did you mean: 

sending xml payload to an email ID.

Former Member
0 Kudos

Hi Experts,

There is a requirement from client to an already existing interface.

scenario is File to File interface which is existing and running successfully in addition to this client needs xml payload to a specific mail ID.

1. File name should be dynamic

2. with attachment.

could you please suggest me the end to end configuration.

PI 7.3 SP 13 single stack.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ramu,

If you want to set the mail attachment's name dynamically, check below:

Regards,

Hailong

iaki_vila
Active Contributor
0 Kudos

Hi Ramu,

With standard beans you check this also .

One way can be to set two receivers (File and Mail), I haven't test it, but i think it could be possible, we can wait another SCN members opinions about this way.

Regards.

Bhargavakrishna
Active Contributor
0 Kudos

Hi Ramu,

In ID add one more receiver to send a mail

--> Create business service and receiver mail communication channel.

--> Create Receiver determination /interface determination / receiver agreement.

By selecting Keep attachments option in receiver mail adapter, XI can send payload and attachments in XML, please refer the below link for the same.

If the mail has a plain-text format, you can select the Use Mail Package checkbox to convert the mail message to XML

If you want to give each attachment a certain name, you can use the swap module. The swap module changes the main payload

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

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

Regards

Bhargava Krishna

Former Member
0 Kudos

Thanks for the quick response,

we are using ICO and the main problem is the file name sending dynamically, pls could you suggest anything specific to dynamic filename.

Bhargavakrishna
Active Contributor
0 Kudos

Hi Ramu,

Please go through the below link

Regards

Bhargava Krishna

iaki_vila
Active Contributor
0 Kudos

Hi Ramu,

Do you have ESR development?, you could send the email at mapping level:

Regards.