-1
我嘗試使用nodemailer將確認郵件發送給node.js中的GMail和Yahoo用戶。我嘗試這樣做:我無法使用node.js中的nodemailer將郵件發送給yahoo用戶
nodemailer.createTransport("SMTP",
{
service: 'gmail',
auth:
{
user: "[email protected]",
pass: "xxxx"
}
});
var message ={
from: 'XXX.com',
to:[email protected],
subject: 'Confirm your registration',
}
它工作正常使用Gmail,但我想給雅虎,所以我給了yahoo
代替service:Gmail
但顯示以下錯誤:
Mail from command failed - 553 From address not verified - see http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html
如何發郵件給雅虎?
非常感謝你的工作...... – silvesterprabu