LM5 can't send an email - 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: LM5 can't send an email (/showthread.php?tid=4714) |
LM5 can't send an email - Fahd - 14.04.2023 Hi, I'm using this script in all of our projects to send a backup each month. One of the LM5 can't send it anymore and got this in the logs * string: connection refused * nil * string: Send Mail NB: LM5 is connected to the ethernet. What could be the issue? Code: --***************************************************************-- RE: LM5 can't send an email - Daniel - 14.04.2023 Check this https://forum.logicmachine.net/showthread.php?tid=4076&pid=26361#pid26361 RE: LM5 can't send an email - Fahd - 14.04.2023 (14.04.2023, 09:19)Daniel Wrote: Check this The same script works on another LM5, and im not using gmail RE: LM5 can't send an email - Daniel - 14.04.2023 Is it the same gmial account? RE: LM5 can't send an email - Fahd - 14.04.2023 (14.04.2023, 09:26)Daniel Wrote: Is it the same gmial account? the same account yes RE: LM5 can't send an email - Daniel - 14.04.2023 Then it is ether typo in internet settings or some security stuff in gmail. RE: LM5 can't send an email - Fahd - 14.04.2023 (14.04.2023, 09:27)Daniel Wrote: Then it is ether typo in internet settings or some security stuff in gmail. it's not gmail, and i don't thing a typo because i copied the same script and test it and it works RE: LM5 can't send an email - admin - 14.04.2023 Try pinging SMTP server from LM. RE: LM5 can't send an email - Fahd - 14.04.2023 (14.04.2023, 09:29)admin Wrote: Try pinging SMTP server from LM. PING smtp.office365.com (132.245.230.0): 56 data bytes 64 bytes from 132.245.230.0: seq=0 ttl=107 time=35.128 ms 64 bytes from 132.245.230.0: seq=1 ttl=107 time=41.218 ms 64 bytes from 132.245.230.0: seq=2 ttl=107 time=34.290 ms 64 bytes from 132.245.230.0: seq=3 ttl=107 time=33.080 ms --- smtp.office365.com ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 33.080/35.929/41.218 m RE: LM5 can't send an email - Daniel - 14.04.2023 Is it the same firmware on working and not working LM? RE: LM5 can't send an email - Fahd - 14.04.2023 (14.04.2023, 09:38)Daniel Wrote: Is it the same firmware on working and not working LM? Yes RE: LM5 can't send an email - admin - 14.04.2023 Try running this script. If you still get connection refused error then contact Microsoft and ask why your connection is blocked. Code: sock = require('socket').tcp() RE: LM5 can't send an email - Fahd - 28.04.2023 (14.04.2023, 11:37)admin Wrote: Try running this script. If you still get connection refused error then contact Microsoft and ask why your connection is blocked.The problem is solved, port 587 was blocked by the firewall |