I'm looking at custom programming my reef angel and I'm getting some ideas about including some customised alerts to be emailed. (Example: once a day at a certain time emailing up time of the controller, emailing on power outage, emailing on power restore, and a few others that I haven't thought of yet. But I know I will. Hehe)
But I'm wondering, is that at all possible to send emails for custom events? If so, what's the best way of doing it.
Sending custom email alerts
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Sending custom email alerts
Check lnevo's code:
http://forum.reefangel.com/viewtopic.php?f=11&t=2328
http://forum.reefangel.com/viewtopic.php?f=11&t=2328
Roberto.
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am
Re: Sending custom email alerts
The problem is that the class I'm using isn't in the main distribution yet. You can get it from my git repository.
Here's the download link for that branch:
https://github.com/lnevo/Libraries/arch ... ialert.zip
The discussion on that code is here:
http://forum.reefangel.com/viewtopic.ph ... WiFI+Alert
Here's the download link for that branch:
https://github.com/lnevo/Libraries/arch ... ialert.zip
The discussion on that code is here:
http://forum.reefangel.com/viewtopic.ph ... WiFI+Alert
-
egadgetjnr
- Posts: 54
- Joined: Wed Jul 18, 2012 1:32 pm
Re: Sending custom email alerts
Thanks heaps Roberto and Inevo! That's perfect!
Now for some experimenting with Prowl on my iPhone for the notifications/emails. Hehe
Now for some experimenting with Prowl on my iPhone for the notifications/emails. Hehe