cancel
Showing results for 
Search instead for 
Did you mean: 

XI Mail Adapter: Sending an XML attachment

Former Member
0 Kudos

Hi

I want to send an xml attachment using the XI Mail adapter. I have configured the adapter correctly and am currently receiving the email message.

My issue is that my attachment has a .txt extention and I want it to have a .xml extn.

I have seen a variety of web blogs around but none of these have helped.

I have also changed my configuration from XIPAYLOAD to XIALL and still cannot get my payload message as a .xml attachment.

When I config my adapter to use XIALL i get 2 attachments, a SOAP.xml and the my payload wiht the filename:

payload-4490FF3D7BE90163020000000A45F714@sap.com.bin

When I use XIPAYLOAD, with the keep attachment option ticked, I get an attachment with a .txt extn.

I am convinced there must be a J2EE setting or maybe a ABAP config paramter that I need to update to get the .xml extn.

Any help is greatly appreciated.

Regards

Yackeen

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yackeen,

You can use localejbs/AF_Modules/MessageTransformBean

You have to set the parameter :

Transform.ContentDisposition as

attachment;filename=”myFileName.xml”>

Best regards,

Bela

Answers (1)

Answers (1)

STALANKI
Active Contributor
0 Kudos

did u check this?

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure