mail settings - 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 settings (/showthread.php?tid=2808) |
mail settings - AlexLV - 26.08.2020 Hi, trying different variants - something not working. I need send mails from internal local network. IT prepared E-mail for me. I should use SMTP - port 25, no security, no password. How to switch security off?? My settings: function mail(to, subject, message) -- make sure these settings are correct local settings = { -- "from" field, only e-mail must be specified here from = 'server@company.lv', -- smtp username user = 'server@company.lv', -- smtp password password = '', -- smtp server server = 'IP adress', -- smtp server port port = 25, -- enable tls, required for gmail smtp secure = '' } BR, Alex RE: mail settings - Erwin van der Zwart - 26.08.2020 Remove the complete fields that you don’t need instead of “” RE: mail settings - AlexLV - 26.08.2020 Thank you Erwin for explanation. Alex RE: mail settings - AlexLV - 27.08.2020 Erwin, thank you again for your explanations, all is working now. Alex |