Page 1 of 1

Sending custom email alerts

Posted: Fri Aug 09, 2013 8:39 pm
by egadgetjnr
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.

Re: Sending custom email alerts

Posted: Sat Aug 10, 2013 10:55 am
by rimai

Re: Sending custom email alerts

Posted: Sat Aug 10, 2013 11:18 am
by lnevo
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

Re: Sending custom email alerts

Posted: Sat Aug 10, 2013 3:55 pm
by egadgetjnr
Thanks heaps Roberto and Inevo! That's perfect!

Now for some experimenting with Prowl on my iPhone for the notifications/emails. Hehe