-
Notifications
You must be signed in to change notification settings - Fork 44
ebiiii edited this page Oct 21, 2014
·
1 revision
This virtual sensor implements an Email notification system for GSN.
Parameters:
- receiver-email Email address of the recipient
- sender-email Email address of the sender
- mail-server URL for the email (SMTP) server
- subject Subject of the email
- message Email message
<processing-class>
<class-name>gsn.vsensor.EmailVirtualSensor</class-name>
<init-params>
<param name="receiver−email">john.connor@gmail.com</param>
<param name="sender−email">admin@sensorinternet.com</param>
<param name="mail−server">smtp.gmail.com</param>
<param name="subject">Abnormal Temperature Detected</param>
<param name="MESSAGE">Sensor 114 has a value of 100 C.</param>
</init-params>
...
</processing-class>
...
<streams>
<stream name="...">
...
</stream>
...
</streams>