beautypg.com

Sendemail, Email sending, Action.sendemail – 2N Helios IP Automation Manual v2.7 User Manual

Page 28: Parameters, Example

background image

28

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Parameters

Event – define the event to launch this action.
Condition – define the condition to be met for the action to be executed. This
parameter is optional.

Example

Send a syslog message with captured event 2 (Event.CardEntered) if the event defined

:

on row 2 arises

Action.LogEvent: Event=2

Sent syslog message format:

LOCAL0.DEBUG: Jan 10 12:49:14.305 ACT: aut_action_logevent_callback():
Logged event 'CardEntered'

Action.SendEmail

The

block defines the action that sends an email. The email parameters are

SendEmail

configured in the Services / E-Mail menu.

Parameters

Event – define the event to launch this action.
Condition – define the condition to be met for the action to be executed. This
parameter is optional.
User – define the user to whom the email will be sent.

Valid values:

user_position – numeric value of the user phone book position.

Example

Send an email to the email address defined for the user in book phone position 5 if the

:

event defined on row 2 arises

Action.SendEmail: User=5; Event=2