Please or
Try NowBuy Now
Google

Locations of visitors to this page

wrapper.event.<event_name>.email.body Property
wrapper.event.<event_name>.email.body Property

Configuration Property Overview

wrapper.event.<event_name>.email.body

Compatibility :3.3.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OS

Used to configure the body of alert emails. Like most event emails, it can be defined globally for all events using the wrapper.event.default.email.body property, or for a specific event using the wrapper.event.<event_name>.email.body property.

The body property is a bit special, in that its value allows you to define a multiline message body. The end of a line is indicated with the text "\n". If you wish to place a single backslash in the text, use a double backslash "\\". Any other character following a single "\" is undefined and may change in the future.

It is possible to reference any of the Wrapper's default environment variables, or event handler variables from anyplace within the text.

The default value defines a simple, but useful message body:

Java Service Wrapper Event Notification\\n\\nHost: %WRAPPER_HOSTNAME%\\nApp Name: %WRAPPER_NAME%\\n          %WRAPPER_DISPLAYNAME%\\n\\nEvent: %WRAPPER_EVENT_NAME%

When formatted in the message, this will result in a message body like the following:

Java Service Wrapper Event Notification

Host: myhost
App Name: myapp
          MyApplication

Event: jvm_started

The following example will simply display the host name, application name, and event name.

Example:
wrapper.event.default.email.body=Host: %WRAPPER_HOSTNAME%\\nApp Name: %WRAPPER_NAME%\\nEvent: %WRAPPER_EVENT_NAME%

The "<event_name>" portion of the property name can be either "default" or any the Wrapper's Event Types.

It is possible to attach or append recent log activity to an email using the wrapper.event.<event_name>.email.attach_log property.

Please see the overview of Event Mails for examples.





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.4.0