JavaScript Code Issue: Unable to Attach CSV File to Email Using Adobe "Mail Doc" Feature
Hello Adobe Community,
I am currently working on a JavaScript code to retrieve all the fields and their corresponding values from a PDF form, convert them into a CSV file, and then attach the CSV file to an email using the "mail doc" feature. However, when I open the email, I am unable to see the attached CSV file, and in some cases, I am encountering an error message that says "security prevents access to this property or method."
I would appreciate any guidance or solutions from the community regarding this issue. Thank you in advance for your help.
Best regards,
