E-mail attachment names and extensions can be modified or personalized using both static and dynamic content (via control documents).
Here are some examples to accomplish this new feature. Create a new Control Document with the appropriate syntax below:
- ChangeAttachmentName = 'My Attachments.txt=Sales Report.txt'
- ChangeAttachmentName = 'My Attachments.txt=Sales Report.csv'
- ChangeAttachmentName = 'My Attachments.txt=Sales Report.txt|My ExcelAttachments.xls=Profit Report.xls'
- ChangeAttachmentName = 'My Attachments.txt=Sales Report.txt|My ExcelAttachments.xls=Profit /Report.xls'
Please note the following:
- Each entry name is case sensitive, for example: ChangeAttachmentName
- To separate multiple documents use the '|' (pipe symbol)
- Each document names is case sensitive
- Any invalid characters in the new name are replaced with the underscore character
- The renaming of two attachments into the same new name is supported
- The renaming of non-existing attachments are unaffected
- The creation of more than one ChangeAttachmentName entry in the control document fails the service
- The renaming of a new document into an empty name will automatically cause the document to generated new name