I need to know how I can change the name of the xml-attachment using the submit function.
My current code looks as follows:
<event activity="click" name="event_click">
<submit format="xml" target="mailto:firstname.lastname@example.org?subject=test&body=text" textEncoding="UTF-8">
Currently the attached xml-file is automatically named “filename_Daten.xml”.
The goal is to generate the filename dynamically depending on certain values.
Thanks for helping me.
As far as i know you can't change the File name using Adobe scripts; however it is possible if you submit the form to a server-side script such as ASP.net, that can parse the submission data and inject it into an SMTP message.
For online examples: