Optimize 10.5 | webMethods Optimize Documentation | Administering webMethods Optimize | For System Administrators | Configuring Optimize | Configuring Rule Violation Alerts and Actions | Configuring E-mail Alerts | Specifying E-mail Alert Settings and Templates
 
Specifying E-mail Alert Settings and Templates
You can configure the settings for sending e-mail alerts from the My webMethods Define Environments page.
*To configure settings for sending e-mail alerts
1. In My webMethods, navigate the following path: Applications > Administration > System-Wide > Environments> Define Environments.
2. Click the name of the configured environment for which you want to configure e-mail alert settings.
3. Click the Configure Servers tab.
4. On the CONFIGURATION tree, find the Analytic Engine for which you want to configure mail alert settings, and click Mail Settings under the name of the Analytic Engine. The Analytic Engine Mail Settings panel is displayed.
5. The following table provides information about the Mail Settings.
Attribute
Definition
Mail Server
Name of the host system on which the SMTP server resides that sends e-mail containing alerts. For example, this server might be smtp.client.com.
Note:
Optimize does not support SMTP servers that require authentication.
Sender Domain
E-mail domain for the e-mail address specified in the Default Sender field (such as webmethods.com).
Default Sender
Sender to specify in the From field of the alert e-mails. Make sure the e-mail address provided in this field is within the e-mail domain specified in the Sender Domain field.
Admin Address
E-mail address of the recipient that you want to receive copies of e-mail alerts. The e-mail address in this field is also used as the default address for sending test e-mail messages from the System Settings page (Applications > Administration > My webMethods > System Settings).
Default Mail Encoding
Default encoding to use for e-mail that is sent to users. You can specify any MIME registered encoding name. The default value is UTF-8. You can specify a different encoding for individual users on the Edit User page. For information on configuring user profiles, see Working with My webMethods.
Templates
Used to specify custom e-mail alert templates.
Syntax: <rule name> = <template name>
*Dynamic custom alert template filenames must end with the .vm extension.
*Static custom alert template filenames typically end with the.template extension.
When the specified rule is violated, the e-mail alert is formatted based on the associated alert template. First it searches for a template configured with the rule's instance name. If one is not found, it searches for a template configured with the base rule. If no specified templates are found, the Analytic Engine uses the default format for the e-mail alert.
For example, in the Mail Settings panel above, the template attribute specifies that when the rule named Business monitor violation is triggered, the Analytic Engine uses the static custom alert template named BusinessMonitorViolation.template that is in the default templates directory ( Optimize_directory /analysis/conf/templates):
Business monitor violation=
./templates/BusinessMonitorViolation.template
You can also configure your e-mail alert template to use HTML content. For more information, see Setting up E-mail Alert Templates to Use HTML Content.
Socket Timeout
The amount of time in seconds before the Analytic Engine terminates an idle connection with the SMTP server. The default value is 60.
6. Click Save.
7. Click Finish.
8. Put the changes into effect. See Changing Your Configuration Settings.