Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Working with Monitoring process : Event processing : Exception handling : E-mail notification for invalid events
 
E-mail notification for invalid events
Along with every event, a list of comma separated e-mail ids can be passed. If the event is found to be invalid, then a notification is sent to all the e-mail ids about the invalid event with proper reasons. In addition to this, a list of e-mail ids can be provided for the smp.invalidevent.notify.email parameter in the OEBPS_HOME\conf\smp.properties file. The notification to these e-mail ids can be controlled by the smp.invalidevent.notify parameter set by default to 'false'.
The different options for e-mail notifications are explained below:
*If the external event contains e-mail ids, then invalid event notification is sent to the provided ids.
*If the external event contains e-mail ids, and in OEBPS_HOME\conf\smp.properties file, the smp.invalidevent.notify parameter is true, then e-mail is sent to all the ids (e-mail ids in the external event, and e-mail ids provided in the smp.properties file for the smp.invalidevent.notify.email parameter).
*If the external event contains e-mail ids, and in OEBPS_HOME\conf\smp.properties file, the smp.invalidevent.notify parameter is false, then e-mail is sent only to the e-mail ids in the external event.
*If the external event contains no e-mail ids, then:
*In smp.properties file, if e-mail ids are provided for the smp.invalidevent.notify.email parameter and value of the smp.invalidevent.notify parameter is true, then e-mail is sent to all the ids mentioned.
*In smp.properties file, if e-mail ids are provided for the smp.invalidevent.notify.email parameter and value of the smp.invalidevent.notify parameter is false, then no e-mail is sent.
*In smp.properties file, if no e-mail ids are provided for the smp.invalidevent.notify.email parameter and value of the smp.invalidevent.notify parameter is true, then no e-mail is sent.
You can customize the default look-and-feel of an invalid event e-mail by modifying the default template file externalevent.htl from the OEBPS_HOME\ebmsapps\common\templates\email folder.