cancel
Showing results for 
Search instead for 
Did you mean: 

Content-Disposition - Dynamically set in Mail Adapter

Shabarish_Nair
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Shabarish

Can you use mail package. In that case you can do it dynamically.

Thanks

Gaurav

Former Member
0 Kudos

Hi Vijay,

Do have the solution for this? I also have the same requirement.

Please forward me the solution.

Thanks,

Nat