Skip to content

Module thc_MailAlert

Drolla edited this page Mar 1, 2015 · 14 revisions

Mail alert


Proc: thc_MailAlert::Send

Sends a mail message. Send sends a mail message to one or to multiple destination addresses. To use this command the command mail needs to be available and configured.

Parameters
Parameters Description
-to <ToAddress> Destination address. Multiple addresses can be specified by repeating this argument
[-from <FromAddress>] Sender address
[-title <Title>] Message title
Message Mail message
Returns

-

Examples
 thc_MailAlert::Send -to knopf@vaucher.ch -to 0041791234567@sms.ecall.ch \
                     -from myhome.vaucher@bluewin.ch -title "Alarm alert" \
                     "Sensor $Sensor triggered"
Clone this wiki locally