Mandrill返回reject_reason:'invalid-sender'

我有一个node.js应用程序,我想用Mandrill发送交易电子邮件。 但是,当我发送,我得到“reject_reason:'无效发件人'”。 这里有一些日志来显示发生了什么:

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' } ] 

请注意,在实际的日志文件中,“鼻子”值是真正的域,所有的电子邮件地址都是真实的收件箱,我可以通过Gmail发送testing邮件。

那么,什么导致了“无效发件人”? 提前致谢!

不pipe你多less次看过你写的代码,这都是一个教训,错别字可能真的很难find。 请注意,我有“from”而不是“from_email”。 。 。 咄!