Appendix B – Sending Email with the Web Xpander
Sending email with the Web Xpander is accomplished by sending ASCII commands from
the controller (i.e. STARGATE) to the Web Xpander’s serial port. The example below
demonstrates sending an email when the alarm is disarmed.
EVENT: Send Email When Alarm Disarmed
If
Partition Not ARMED [Partition 1] TRANSITION
Then
ASCII-Out: ':mailto=mycellphone@yahoo.com' [COM1]
ASCII-Out: ':mailfrom=myhouse@home.com' [COM1]
ASCII-Out: ':mailsubject=Security' [COM1]
ASCII-Out: ':mailbody=Alarm System Disarmed' [COM1]
ASCII-Out: ':mailsend=' [COM1]
End
SMTP Authentication
Some outgoing (SMTP) mail servers require username/password authentication before
they will accept outgoing mail. If your mail server requires authentication, access the
“Settings” page of the web interface and specify a username/password in the fields
labeled “Mail Server User Name” and “Mail Server Password”.
If these fields are filled in, SMTP authentication will be used (even if your mail server
does not require or can not accept authentication). If SMTP authentication is not required
you must leave these fields blank.