简体   繁体   English

如何使用 aws ses 和 aws sns 接收电子邮件?

[英]how to receive emails using the aws ses and aws sns?

I am trying to receive emails on a domain email like xyz@example.com and I have done the following steps to get the results but am unable to get that.我正在尝试在域 email 上接收电子邮件,例如 xyz@example.com,我已执行以下步骤来获取结果,但无法获取结果。

Firstly, I have created an SNS topic and linked that SNS topic with HTTPS protocol to a rest API to receive the incoming email details.首先,我创建了一个 SNS 主题并将该 SNS 主题与 HTTPS 协议链接到 rest API 以接收传入的 email 详细信息。 And then in SES firstly I have verified the domain and then in the email receiving section I have created a rule set and activated that rule set and I have not added recipient condition and in the action I am using AWS SNS topic and same topic which I have created for this email receiving.然后在 SES 中,我首先验证了域,然后在 email 接收部分中,我创建了一个规则集并激活了该规则集,并且我没有添加收件人条件,并且在操作中我使用的是 AWS SNS 主题和我使用的相同主题已为此 email 接收创建。 But I am not able to receive the email content to the endpoint which I have linked to SNS topic.但是我无法将 email 内容接收到已链接到 SNS 主题的端点。 I have added the MX record in Cloudflare DNS and I am using us-east1 for value endpoint.我在 Cloudflare DNS 中添加了 MX 记录,并且我使用 us-east1 作为值端点。

How can I implement this?我该如何实施?

Check your destination rules, if you need receive all traffic domain add your naked domain: example.com, if you need receive traffic for specific address: user@example.com, also check if You have more than one MX record, if You have two or more setup priority for SES.检查你的目标规则,如果你需要接收所有流量域添加你的裸域:example.com,如果你需要接收特定地址的流量:user@example.com,还要检查你是否有多个 MX 记录,如果你有SES 的两个或多个设置优先级。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM