Mail Office 365 - 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: Mail Office 365 (/showthread.php?tid=4952) |
Mail Office 365 - stavros - 07.09.2023 Hello to everyone, I have a spacelynk (i.MX28) and i am trying to send an email through office 365. In the past i used the same device to send mail trough gmail with success. The settings that i have used for office 365 are the following -- send an e-mail, function Email(to, subject, message) -- make sure these settings are correct local settings = { -- "from" field, only e-mail must be specified here from = '******', -- smtp username user = '******', -- smtp password password = '******', -- smtp server server = 'smtp-mail.outlook.com', -- smtp server port port = 587, -- enable ssl, required for gmail smtp secure = 'tlsv1_2', -- use STARTTLS mode starttls = true, } I also tried the command ping to the server with success. --- smtp-mail.outlook.com ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 96.248/96.384/96.664 ms Any idea with i cannot send mail with the above settings? RE: Mail Office 365 - Daniel - 07.09.2023 Check this https://forum.logicmachine.net/showthread.php?tid=4714&pid=30460#pid30460 |