Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Content-Disposition - Dynamically set in Mail Adapter

Hi All,

I need to dynamically set the Content-Disposition in the receiver mail adapter so as to facilitate dynamic names for my attachment in the mail.

In case i use messagetransform bean, I will have to hard code the name as part of the parameter value in the adapter.

Is there any way i can utilize the ASMA and dynamic configuration here?

- i referred the blog but instead of setting the

attachmentXML.setName(mailFileName);

attachmentXML.setContentType("text/xml");

attachmentXML.setContent(by);

I need to set the content disposition. Is there any way?

Appreciate all help on this issue.

Regards,

Shabz

Not what you were looking for? View more on this topic or Ask a question