【发布时间】:2014-10-01 10:10:30
【问题描述】:
我有一个 node.js 应用程序,我想使用 Mandrill 发送交易电子邮件。但是,当我发送时,我得到“reject_reason:'invalid-sender'”。以下是一些日志记录以显示正在发生的事情:
MandrillMail::send sent
{
from: 'counselor@nosend.com',
to: [ { type: 'to', email: 'toddrun@nosend.com' } ],
text: 'Sample Message',
html: '<p>Sample Message</p>',
subject: 'Regarding your account with Zev J'
}
and got back
[ {
email: 'toddrun@nosend.com',
status: 'rejected',
_id: '0ef9980ab50d448cb8bc1fcec2d614fc',
reject_reason: 'invalid-sender'
} ]
请注意,在实际的日志文件中,“nosend”值是真实的域,所有的电子邮件地址都是真实的收件箱,我可以通过 Gmail 向它们发送测试邮件。
那么,是什么导致了“无效发件人”?提前致谢!
【问题讨论】: