These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

email pdf with custom filename

scottsheck
Registered: May 3 2007
Posts: 138

When submitting the PDF to an Email address, is it possible to send the PDF with a different or customized filename? For example, if they are filling out myform.pdf, I would like the name of the pdf file that is emailed to be called something like COMPANYA.PDF. where "COMPANYA" is some text in a text field I have.

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is not an easy one. Acrobat does not provide any direct way to control the name of an email submission.

The attachement will have the same name as the PDF file. So it the user does a SaveAs to a new file name, the attachement will have the new name. This is a pain for most users and not an option. But, if you are operating in a closed environment, i.e. you can place software on all of the user's systems, then you can create a folder level script that will do the save when the user pressed the submit button on the PDF.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script