Aws SES 发送邮件并获取电子邮件 ID,但未收到

问题描述 投票:0回答:1
  Ref:  https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/dotnetv3/SES

在SES中,使用AWS SDK在.NET中发送邮件

       var bodyHtml =  "This is some HTML body text.  and other HTML elements.";
      var bodyText =  "This is some plain body text.";
      var subject = "Sample email from Amazon Simple Email Service";

     var messageId = await sesWrapper.SendEmailAsync(toAddresses, ccAddresses,
   bccAddresses, bodyHtml, bodyText,
   subject, senderAddress);

邮件发送成功并得到最后打印的消息id

关注时出错

问题:

AWS Login for SES 中缺少任何步骤

amazon-web-services .net-core aws-sdk amazon-ses
1个回答
0
投票

SES 有一些设置步骤,您是否按照 SES 开发人员指南中的步骤此处添加发送帐户(即使在沙箱中)并启用编程访问?

© www.soinside.com 2019 - 2024. All rights reserved.