Email Template Editor

Contents of this Topic: Show

Overview

The Email Template Editor is used to modify the standard Monsoon Order Manager email templates supplied with the program or to create completely new email templates to meet the business needs.

Regular text and email "tags" are added to the new template, which the user previews, using actual data from their store file .

Using Email Templates in Monsoon Order Manager is similar to using the "mail merge" function of Microsoft Word for letters and envelopes, except they create the body of an email instead.

Different email templates can be designed for different purposes and the program can be instructed when to use each one via the Store Setup Wizard. For example, when the program generates a confirmation email for an order or group of orders, it will pull pertinent information from each order, and based on the designated email template, insert customer-specific information into the "finished" email that is sent to the customer.

Monsoon Order Manager assumes that the production Email Templates folder is found in the same location as the store data file. If new templates are created or changes are made to templates in an Email Templates folder that is not in the same location as the data file, those templates will not be displayed in the list of templates where email can be sent.

The production Email Templates folder should be backed up regularly, along with the store data file, for disaster recovery purposes. It is recommended that the user keep on-site and off-site copies of critical Monsoon Order Manager files, which are identified by the CTRL+Shift+C key combination at the Main Menu.

The Email Template Editor is accessed by going to:

Main Menu>Settings>Report Functions>Email Template Editor  

Description of the screen

Email Template Editor screen

 

Template

Tags

Test With

Body of the Email Template (not labeled)

Delete

New

Save 

Reload 

Using the Email Template Editor

Creating a new e-mail template

  1. To build the template from scratch:

    1. Select New.

    2. Enter a name for the new template when prompted, and select OK.

    3. Optional: Select the Miscellaneous filter from the Tags drop-down list to limit the list.  

    4. Select the Subject Start tag from the list and double-click to add it to the body of the e-mail text in the right-most pane.

    5. Type in the text of subject line as it should appear next to the <<Subject Start>> tag.

    6. Double-click the Subject End tag from the list to insert it at the end of the subject line.

For example, if the company name is My Web Orders and first line of the email template looks like this:

<<Subject Start>>Order Confirmation from <<CompanyName>><<Subject End>>

the resulting subject line of the email sent to the customer will be:

Order Confirmation from My Web Orders

    1. Continue to add tags and/or text to the template body until the all desired text and tags are entered.

    2. Select the Save button to create the template, which now appears in the Template drop-down list at the top of the screen.

    3. To test the current template, select one of the Test With: buttons located above the body of the e-mail template. The choice of which button is used depends on the types of tags included in the e-mail template; therefore it may be necessary to test the template with more than one button.

  1. To create a template based on a standard e-mail template:

    1. Select the base template from the Template drop-down list. The AllFields.txt template contains all of the possible e-mail tags, making it a good candidate to copy.

    2. select in the e-mail template pane, select all or a portion of the template and copy it to the clipboard.

    3. Select the New button and enter a name for the new template. Select OK.

    4. Select in the e-mail template body pane and paste the data from the base template into the new template. Select Save.

    5. Continue editing or making changes to the template text and/or tags as necessary. Select Save to retain the changes.    

    6. Select one of the Test With: buttons located above the body of the e-mail template to test the changes with real data in the store file. The choice of which button to use depends on the tags included in the e-mail template; it may be necessary to test the template with more than one button.

Testing or previewing an e-mail template

  1. To preview the template, select one of the Test With: buttons directly above the body of the e-mail template. It is important to test a template with the proper type of data. For example, tags related to orders or suppliers will not work if you test the template with customer records.

  2. The Email Templates screen changes slightly once a Test With: button is selected. The other buttons are grayed out and a Back to Edit button appears. The tags in the body of the e-mail template are replaced with valid data.

  3. Use the navigation arrows to scroll through the collection of records and view the sample output for each one.

  4. Select Back to Edit to continue tweaking the changes made to the template.

  5. When satisfied with the test results, select Save. Or, to cancel the changes and start over with a fresh copy of the current template, select Reload.

Including HTML content in an e-mail template

  1. To add HTML to a plain text e-mail template, use the Email Template Editor or the Edit Message tab of the Send Email screen.  

For example, select the standard email template, HTML Confirmation with Invoice.txt from the Template drop-down list of the Send Email screen.

  1. Select the Edit Template button.

  2. Scrolling down, we see the beginning of the HTML portion of the template.

  1. To add HTML to a template that does not already contain HTML content, add the <<HTML Start>> and <<HTML End>> tags in the body of the template.

  2. Type the full HTML source code in between those tags, including any Monsoon Order Manager field tags that the program should replace with data from your store data file.

  3. Any text that is not within the <<HTML Start>> and <<HTML End>> tags is processed as plain text and sent as the text-only version of the e-mail.

  4. In most cases, you will want to repeat the entire plain text message of the template within the <<HTML Start>> and <<HTML End>> tags.

Example of an HTML and plain text email template

<<OrderDate>>

Dear <<OrderName>>,

Thanks for ordering from <<CompanyName>>.

We appreciate your business!

- The Staff at <<CompanyName>>

<<HTML Start>>
<p><<OrderDate>></p>

<p>Dear <<OrderName>>,</p>

<p>Thanks for ordering from <b><<CompanyName>></b>.</p>

<p><i>We appreciate your business!</i></p>

<p>- The Staff at <img src="http://www.stoneedge.com/images/ stomediumsm.gif'">
<<HTML End>>

An additional resource for help coding HTML is WebMonkey.

Adding a tracking link to an e-mail template

Additional information

Send Email

Settings

 

Created: 3/7/11

Revised: 7/29/15

Published: 08/19/15