邮件已经验证,但是我还是不能用Amazon SES发邮件

时间:2021-03-11 18:15:48

I have an e-mail for sure verified in the AWS console and I didn't ask for production access yet. I'm trying to send emails using my node applications in the localhost and I keep getting the error that the e-mail address is not verified.

我有一封肯定在AWS控制台验证过的电子邮件,我还没有要求访问产品。我正在尝试使用本地主机中的节点应用程序发送电子邮件,我不断地收到邮件地址未被验证的错误信息。

I'm using the code provided by AWS documentation.

我正在使用AWS文档提供的代码。

var params = {
  RawMessage: { // required
  Data: 'BASE64_ENCODED_STRING', // required
},
 Destinations: [
   'STRING_VALUE',
   // ... more items ...
 ],
 Source: 'STRING_VALUE',
};
ses.sendRawEmail(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

What could it be?

可能是什么病呢?

1 个解决方案

#1


4  

The issue was that the localhost was considered a different region by AWS and I had to verify the e-mail again in the other region.

问题是AWS认为localhost是一个不同的区域,我不得不在另一个区域再次验证电子邮件。

#1


4  

The issue was that the localhost was considered a different region by AWS and I had to verify the e-mail again in the other region.

问题是AWS认为localhost是一个不同的区域,我不得不在另一个区域再次验证电子邮件。