这是我使用nodemailer整合godaddy电子邮件的代码
var transporter = nodeMailer.createTransport({
service: 'Godaddy',
host: "smtpout.secureserver.net",
secureConnection: true,
port: 465,
auth: {
user: "***",
pass: "***"
}
});
它给出错误我也尝试使用端口80和smtpout.asia.secureserver.net
它也不起作用下面是我的godaddy gmail设置
Server Standard ports SSl
Incoming server (IMAP):
imap.asia.secureserver.net 143 993
Incoming server (POP3):
pop.asia.secureserver.net 110 995
Outgoing server (SMTP):
smtpout.asia.secureserver.net 80,3535,25 465