MES Event Management: E-mail Notifications
Templates for E-Mail Notifications
EZ-MES can be
configured to send out automatic email notification when the Trigger
of an certain
Event evaluates as true. For these E-Mails, templates can be defined. These
templates can link to information in the EZ-MES Database.
These E-Mail templates belong to the Controlled Document
Click one of the following links:
How to create an E-Mail Template
To create an E-Mail Template, you have to take the following steps:
- Make sure that you select Email from the Document Type: pulldown.
Define Variables (like specific part information) you would like to use within
- Create an HTML file with your text and formattting.
Upload the HTML file. NOTE: Only a single HTML file should be uploaded for EMail
The following figure shows the Controlled Document
Form, configured for an E-Mail template:
How to link
Almost any information in the EZ-MES database can be linked into the E-Mail. This
can be done by creating variables on the Controlled Documents
Form. The names of these variables can be used in the E-Mail template. Add them
to the template file and enclose them with <%VARNAME%>. In
this case VARNAME should be a defined name on the Controlled Documents
Form. You can use a simple text editor like Notepad to make these changes.
Within the E-Mail template a number of predefined strings can be used that will
be replaced by actual values when the E-Mail is sent out. The following strings
- <%sEMJob%>: Will insert the Job Number for the E-Mail
- <%sTime%>: Date and time the E-mail was sent
- <%sDefaultWebPath%>: Default path to get to the web server
- <%sSubject%>: Is connected to the Subject field on
Controlled Documents Form.
E-Mail template example
The following figure shows an example of an Email template. In this example 4 variables
Controlled Document are linked and a couple of standard replacement strings
are used. In case you would
like to learn more about HTML syntax...
This specific file belongs to the Document Form shown higher on this page.
Create Active Links
It is possible to add links to your E-Mail that will link to specific objects with
EZ-MES. If the user is not logged in, the system will ask for the login credentials.
After logging in the specific form will be opened.
The following figure shows an example template: