Chapter 5: Action Reference
233
notify_email( )
Sends an email notification to the list of recipients specified in the Event Log mail configuration. The
sender of the email appears as Primary_ProxySG_IP_address - configured_appliance_hostname>.
You can specify multiple notify_email actions, which may result in multiple mail messages for a
single transaction.
The email is sent when the transaction terminates. The email is sent to the list of recipients specified in
the Event Log mail configuration.
Syntax
notify_email(subject, body)
where subject and body are quoted strings that can optionally include one or more variable
substitutions.
Layer and Transaction Notes
Can be referenced by any layer.
Example
define condition restricted_sites
url.domain=a_very_bad_site
...
end
<proxy>
condition=restricted_sites action.notify_restricted(yes)
define action notify_restricted
notify_email(“restricted: ”, \
$(client.address) accessed url: $(url)”)
end
See Also
Actions: log_message( ), notify_snmp( )