2019.1

Table Of Contents
Email PDF password
The Email PDF Password Script Wizard defines a password with which to protect the PDF
generated when using the Print context as PDF Attachment option in the Send Email or Send
Test Email dialogs (see "Generating Email output" on page1350). The result of the script will
be the password necessary to open the PDF when it is received by email.
To define a password to protect the generated PDF attachment:
1.
On the Scripts pane, click the black triangle on the New button and click Email PDF
password Script. A new script is added to the Scripts pane.
2. Double-click the new script to open it.
3. Select a data field and optionally, type a prefix and/or suffix.
Password types
PDF allows for two types of passwords to be set on a secured PDF file: a user password and
owner password. The user password allows a limited access to the file (e.g. printing or copying
text from the PDF is not allowed). The owner password allows normal access to the file. The
Email PDF password script sets both the user and owner password to the same value, so that
when the recipient provides the password, he can manipulate the file without limitations.
Note
If a template has a Control Script that creates multiple PDF attachments, all the
attachments are secured by the same password.
Note
Via a Control Script it is possible to set a different user password and owner password,
see "Control Script: Securing PDF attachments" on page842, "Control Scripts" on
page828 and "Control Script API" on page1280.
Email attachments
Output, generated from an Email template, can have the following attachments:
Page 517