Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download the Solution Example here: SendSMSAlarmEmailAndSMS.dbsln

Name: AlarmEmailAndSMS

Software Version: 10.0.6

Keywords: Alarms. Notifications. Email. SMS.

Summary

This sample demonstrates configuring to send an email and an SMS containing alarm information using the feature NotificationMethod every time an alarm event occurs.

Technical Information

The NotificationMethod used in this solution example allows configuring your solution to send an email, an SMS, a message box, or speech the alarm message every time a conditional event alarm occurs. 

When the solution runs, the NotificationMethod is called every time a conditional event alarm occurs. Then, this method receives an Array of AlarmEventInfo as a parameter. The NotificationMethod must follow the prototype below:

Code Block
languagec#
public void NotificationMethod(AlarmEventInfo[] events)


Reference Information

If sending emails is required in your solution, you can install a PlugIn with that functionality.

See Alarms for more information.