![]() |
LM as SMTP-Server - 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: LM as SMTP-Server (/showthread.php?tid=6027) |
LM as SMTP-Server - xxyzz - 19.06.2025 Hi, I am fiddeling with a concept for sending alerts on LM I have a server that can send me E-Mails if something's wrong. I'd like to use LM alerts as a single point to check for alarms. Can I setup an SMTP-Server on LM to recive mails and display the messages in the alert manager? I have thought about using NodeRED as SMTP-Server and forward messages via MQTT but if i could lose that layer of abstraction it would probably benefit me in the long run. As always, thanks for taking you time! Cheers RE: LM as SMTP-Server - admin - 21.06.2025 Run as a resident script with 0 sleep time. Received messages and headers will be visible in LM Logs tab. Code: local server = require('socket').tcp() |