How To: Setup Email Templates
Table Of Contents
Creating and editing Email Message Templates is an Advanced User feature.
Email Message Templates control the content of emails sent manually or automatically from Khaos Control. You can configure the recipients, subject, message content and available tags to suit the type of email you want to send.
Create a Message Template
- Open the Email Manager. If you need help, see How To: Open the Email Manager.
- Select Message Templates to display the existing templates.Note: To edit an existing Message Template, double-click it in the list.
- Press Ctrl+N or click the New button to create a Message Template.
Set up the Message Template options
In the Setup area:
- Enter a unique code in Template Code.
- Enter a suitable description in Template Desc.
- Select the required Trigger Type:
- BACK ORDERS – for emails relating to an order being on back order.
- CAT REQUEST – for emails relating to the catalogue request process.
- COMPANY EMAIL – for customer-based emails, such as telling customers about a special offer.
- INVOICE – for emails relating to activity in the Invoice Manager.
- MANUAL – for emails that do not fit into the other categories. This format can use an external CSV file to provide the available tags.
- PURCHASE ORDER – for emails relating to purchase ordering.
- REFUND – for emails relating to items on a sales order being refunded.
- REPORT EMAIL – for manually emailing reports generated in Khaos Control, such as Statements.
- RETURN – for emails relating to items on a sales order being returned.
- If the email should always go to a specific address, enter it in Send To.
- If you want to send copies to other email addresses, such as your finance department, enter the addresses in CC List or BCC List.
- Configure the Options as required:
- Use Brand Email Address – enter the brand email address if you have one set up and want to use it.
- Show Pack Children – tick this if pack children should appear in the email body.
- Add to Comm Log when sent – tick this to add an entry to the contact's Comm Log when the email is sent.Note: The Comm Log entry is only created when the email is actually sent. An entry is not created while the email remains pending.
- HTML Format – tick this if the email is formatted using HTML. For help adding images and formatting HTML emails, see How To: Insert an Image into an Email.
Important: BACK ORDERS, REFUND and RETURN emails cannot be sent automatically. These emails are generated manually. For more information, see How To: Setup Emails to be sent based on your Purchase Order Line Status.
Configure the Email Template
- If you do not want to use the default sender address, enter the required email address in From.
- Enter the email Subject.Tip: You can add tags to the Subject line using the upper green arrow tag button.
- If required, create an Item Template by selecting the required tags with a blue background and adding them to the Item Template field using the lower green arrow tag button.The Item Template is available for INVOICE and PURCHASE ORDER Trigger Types.Notes:
- For help using the Stock UDA Item tag, see How To: Add Stock UDAs into Email Templates. The Stock UDA Item tag is available for the INVOICE Trigger Type.
- To add a line break when using HTML, insert
<br />where you want the new line to appear.
- For INVOICE templates, create a To Follow Item Template if required. Select the required tags with a blue background and add them to the To Follow Item Template field using the lower green arrow tag button.If you are adding the Stock UDA Item tag, see How To: Add Stock UDAs into Email Templates.
- Enter the main content of your email in the Message Template area.Include the
$ITEM_TEXTand$TO_FOLLOW_ITEM_TEXTtags where appropriate. For an example of how these can be used, see Email Message Template Shipped Example.If you want to include a Company UDA Item tag in an INVOICE template, see How To: Add Company UDAs into Email Templates. - Press Ctrl+S or click Save to save the Message Template.
Add courier tracking information
You can include courier tracking information in an email by adding the
$CONSIGNMENT_REF tag together with the courier's website link in the message body.For guidance on setting this up, see How To: Setup 'Your Order has Shipped' Invoice Emails.