使用来自godaddy电子邮件的nodemailer发送电子邮件

时间:2018-06-09 02:54:45

标签: node.js email-integration nodemailer

这是我使用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

0 个答案:

没有答案