JDS Uniphase RS-232 Appendix B Sending Email with the Web Xpander, Smtp Authentication

Page 17

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.

Image 17
Contents Web Xpander Web Xpander Welcome to Web Xpander Installing the Web XpanderWhat’s Included What You NeedNetwork Connection Network Configuration Viewing Current Network Settings Command Description Example Manually Configuring Web Xpander Network SettingsLighting Web PagesX10 Digital Analog Relay Timer Ascii MSG LOG TEL LOG Auto Page Refresh SettingsLoad Default Labels ConfigurationWeb Xpander Labeler Importing and Sending Device LabelsAppendix a Web Xpander Commands Description Example Enables or disables Appendix B Sending Email with the Web Xpander Smtp AuthenticationAppendix C Managing a Dynamic Home Internet Address Appendix D Ethernet to Serial Bridge Functionality Page Page Appendix F Performing a Firmware Update on the Web Xpander Page Page Page Advanced Appendix H Internet Time Synchronization Appendix I Advanced WebXpander URL Commands Example Event Disable Webx Appendix K Web Xpander Firmware Release History Page Page