5. Email Templates

fmEmailTemplatesfmEditEmailTemplatefmPreferencesVirtueMartfmEmailHtmlEditor

This section explains how to create regular email contents and use them when changing order status.

Email templates

You can add, clone or delete templates. You can edit, apply changes or cancel changes, attach files, insert macro and preview your template.

So, you can perform such basic operations as:

  1. Refresh data - forces templates list to update. It is useful when you're changing connection or have any doubts e.g. whether the latest data were displayed or not.
  2. Add template - calls blank email template properties form, which is used to create a new template. Check below for more options.
  3. To edit template, just double click on it to see your email template properties.
  4. To clone template, use the corresponding button.
  5. You can delete selected template from your store. Pay attention that you won't be able to undo this action, unless you've made d-base backup.
  6. Preview Email - allows you to preview your e-mail, but not macroses (they may be shown incorrectly here, you'll be able to check them before they will be sent).
  7. Test Email - Also you can send a test e-mail to check if everything is done correctly.

Add Email Template

In order to add template follow a few steps listed below:

1. Click add template button, it calls blank email template properties form, which is used for creating new template.

2. Specify any name and description, it's better to use names and descriptions that brings you some information about this template.

3.Click Ok to save this entry and to add content, or click cancel to discard this entry.

4.Specify your template content:

  • From - Specify your e-mail.
  • Subject - Specify e-mail subject.
  • Text Area - Add e-mail content. You can use one of available default templates.
  • Preview for and Preview - You can preview your e-mail to see the result.
  • Insert Macro - Macro allows you to insert data from your database (for example, [customers_firstname] field) to automate routine tasks. There is no need to go over each order and to edit the text, you can use predefined templates.
  • Edit as HTML button calls HTML editor window of category description. It has 2 tabs: HTML and Code, and Properties Toolbar. Source preview is useful if you are working directly with "raw" HTML text, which gives you precise control over the tags used in the page. However, by default, you can still work with objects visually.
HTML editor

5. Attach images if you use any.

Add attachments to email

Use 'Add' button and browse image on your local PC to add one. If you use HTML Editor to add images, they will be added as attachments automatically.

6.Click 'Apply Changes' to save this entry, or click on 'Cancel' to discard it.

Apply changes

Now you can send an e-mail using this template while changing order status.