Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2175

Re: Dynamic attachment filename in receiver mail channel

$
0
0

Hi Navdeep

 

Thanks for sharing this approach. I wasn't aware of this technique and it does work on setting the attachment filename dynamically for an Outlook 365 mail client.

 

Steffen

You might want to try out Navdeep's approach above. This approach can be achieved using standard functionality and so you do not need to deploy the custom module. One thing to note though is that different mail clients behave differently and as such SAP Note 856599 recommends to populate the filename in 3 MIME headers for consistency sake. The approach above only sets the Content-Disposition header. You can try this first and see if your vendor's mail client can interpret it correctly.

mime.png

 

If it does not, then you can additionally try to set the Content-Type header using the method OutputHeader.setContentType(). If after both these cannot work, then you might need to go for the custom module approach which is able to set all 3 headers.

 

Regards

Eng Swee


Viewing all articles
Browse latest Browse all 2175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>