Adding attachments to HTML templates
This section contains information about:
Use the AR System Email Attachments form to make sure that a specific attachment is always included with any message that makes use of a specific template. You can add graphics to HTML templates by using this form. This is particularly useful for header templates if you want to add a company logo to the header information in your email.
You can only use graphic type files as attachments.
- The Email Engine does not support linking your HTML template to a cascading style sheet.
- You cannot use non HTML files in HTML templates.
To add attachments to HTML templates
- Open the AR System Email Templates form in new mode in the mid tier.
- From the Template Format menu, choose HTML.
This activates the buttons on the Template Attachments tab to add attachments to your template.
- Add a template file as an attachment, and click Save.
- Click the Template Attachments tab, and then the Add Attachment button.
- In the AR System Email Attachments form, select Template from the Type menu.
The AR System Email Attachments form for templates
(Click the image to expand it.)
- Right-click in the attachment pool, and choose Add from the menu that appears.
In the Add Attachment dialog box, navigate to the appropriate location and open the file.
The file is added to the list of attachments on the AR System Email Attachments form. If you are using a Windows system, you can also click and drag an attachment to the attachment pool.
If you attach multiple images (such as .gif or .jpg files) with a template and use the same name for each image, the Email Engine will use only the first attachment.
Select the item in the attachment pool, and click the edit button next to the Attachment Name field.
The name of the template attachment is displayed. For example:
You can edit the file name.
If you specify an attachment name that is different from the file name, the attachment does not appear in the email messages based on this template. For example, if you are attaching the banner1.jpg file and you specify newBanner1.jpg in the Attachment Name field, the image is not visible in the corresponding email messages.
- Click Save to close the AR System Email Attachments form.
Your attachment will be added to the list in the AR System Email Templates form. You might need to right-click and select Refresh to see the attachment listed.
- Click Save in the AR System Email Templates form.
The Email Engine will give the template attachment an ID. (The Attachment ID field is hidden.)