Example (send email in response to JVM restarts): |
# Common Event Email settings. #wrapper.event.default.email.debug=TRUE wrapper.event.default.email.smtp.host=smtp.mycompany.com wrapper.event.default.email.smtp.port=25 wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification wrapper.event.default.email.sender=myapp-noreply@mycompany.com wrapper.event.default.email.recipient=myapp-admin@mycompany.com # Event specific settings. wrapper.event.jvm_restart.email=TRUE wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n |
The properties are all of the form wrapper.event.<x>.email*
where x is one of the "Event Types" defined above or the keyword
default.
Whenever a property is not specifically defined for any of the event names,
the default value will be used.
This is useful for setting values which will be common to all event emails.