Logic Machine Forum
sending alerts by e-mail - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: sending alerts by e-mail (/showthread.php?tid=742)



sending alerts by e-mail - Thomas - 18.04.2017

Hi
Can I send a newly triggered alert by e-mail? There's a high probability I'm overlooking some simple setting but I can't find it.

Thank you


RE: sending alerts by e-mail - admin - 18.04.2017

Not directly, but you can create a wrapper function which sends an e-mail, then calls alert and use it in your scripts.


RE: sending alerts by e-mail - Thomas - 18.04.2017

The problem of this solution is it won't send alerts generated by LM itself. Or can I override the internal Alert() function?


RE: sending alerts by e-mail - admin - 18.04.2017

The only internal alerts are system start and knx connection status. First can be added to init script and second one can be monitored via a resident script: http://forum.logicmachine.net/showthread.php?tid=293&pid=3466#pid3466