Default language.

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.

Warning

You can only use graphic type files as attachments.

Note

  • 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

  1. Open the AR System Email Templates form in new mode in the mid tier.
  2. From the Template Format menu, choose HTML.
    This activates the buttons on the Template Attachments tab to add attachments to your template.
  3. Add a template file as an attachment, and click Save.
    You can download and use the following example HTML template:
    Example HTML Template.html
  4. Click the Template Attachments tab, and then the Add Attachment button.
  5. 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.)

    e-tmpl-att-attch.gif
  6. Right-click in the attachment pool, and choose Add from the menu that appears.
  7. 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.

    Note

    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.

  8. 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:

    template_attachment1.htm

    You can edit the file name.

    Note

    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.

  9. 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.
  10. 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.)

Use the following tag to add an image to the HTML template:

<img src="jumpto.png" style="vertical-align:middle"></img>


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*