我通过gmail发送电子邮件。它运作完美。如何更改服务器设置,以便可以通过Outlook发送电子邮件?
这些是gmail的设置
local ok, err = smtp.send {
from = '<>',
rcpt = too,
source = smtp.message(msg),
user = us,
password = pswrd,
server = 'smtp.gmail.com',
port = 465,
create = sslCreate
}
如果我写
local ok, err = smtp.send {
from = '<>',
rcpt = too,
source = smtp.message(msg),
user = us,
password = pswrd,
server = 'smtp-mail.outlook.com',
port = 587,
create = sslCreate
}
它不适用于Outlook
如何解决?