26.08.2020, 06:24
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
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