|
Email attachmentsOutput, generated from an Email template, can have the following attachments:
By default, when adding the Print context to an email, all Print sections are output to a single PDF file, named after the email subject, which is then attached to the email. The PDF can be protected with a password (see Email PDF password). When adding the Web context to an email, only the default Web section is generated and added to the email as an HTML file that is named after the email subject. To split the Print context into multiple attachments, or to attach multiple Web sections as separate attachments, you need to create a Control Script that specifies parts; see Parts: splitting and renaming email attachments.
This topic explains how to attach files other than those generated by the Print or Web context. Attaching external filesTo attach files other than those generated by the Print or Web context to Email output:
ExamplesThe following script attaches a PDF file named letter-CU00048376.pdf to each generated email. The PDF file is located in the Images folder on the Resources panel.
If that same file would be located on the C: drive, the script should refer to it as follows: The link doesn't have to be static; you could use data from the record set to build the link, for example:
|
|