Skip to Content

Mail attachments to File - How to get attachment name


In Mail to File Scenario where each attachment of file has to store in a directory. For this, I configured scenario as per SAP Note 2040884 Mail attachments to File where I see everything works fine but only concern with filenames. Mail attachment name I see in Main Payload content-Type for example Content-Type : Application/xml;name=xyz.xml where xyz is the attachment name where I have to pass it to dynamic configuration File name. How can I access Content-Type of Main payload? Appreciate your help on this.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 04, 2019 at 08:20 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 06, 2019 at 12:43 PM

    HI Sugata,

    Yes it would resolve my issue. Thank you for sharing the blog, I really appreciate your time on this.

    Thank you,

    Rao Malisetti

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.