wrapper.event.<event_name>.email.body |
||||||||||||
This property is used to configure the body of alert emails. Like several of the event emails properties, it can be defined:
The "<event_name>" component of the property name can be either the keyword "default", or one of the Event Types. By setting the default property, all Event Types which are not set explicitly will take on that value. Variables: It is possible to reference any of the Wrapper's default environment variables, or event handler variables from anyplace within the text. Multiline: The .email.body property is a bit special, in that its value allows you to define a multiline message body. The end of a line (line break) is indicated with the text "\n". If you wish to place a single backslash "\" in the text, use a double backslash "\\" instead. Any other character following a single backslash "\" is escaped and may change in the future. The default value defines a simple, but useful message body:
When formatted in the message, this will result in a message body like the following:
The following example will simply display the "host name", "application name", and "event name".
Attach Log:
It is possible to attach or append recent log activity to an email using the
wrapper. Please see the overview of Event Mails for the usage examples. |
Referencia: Emails de Eventos |
Configuración de Alerta de Email: Sistema de Email: Cuerpo de Email: |