首页 > 解决方案 > 在 Amazon SES 上验证的电子邮件地址不允许我制定规则

问题描述

我创建了一个 AWS lambda 函数来接收发送到 gmail 帐户的电子邮件。我已经在 SES 上验证了该帐户以启动 lambda 函数,但它不起作用。当我设置规则时,我写了已验证的电子邮件地址,但在规则创建设置中它告诉我验证域。显然 gmail 不是我的域,但我只想从我的帐户接收电子邮件。

在本地使用该函数,我可以使用使用标准 python 库创建的 imap 服务器来接收电子邮件,但是当我尝试在没有 SES 的 lambda 函数上使用它时,这会引发登录失败。

有办法在 SES 上验证我的 gmail 地址吗?或者至少接收关于 lambda 函数的电子邮件?

标签: amazon-web-servicesaws-lambdagmailimapamazon-ses

解决方案


To receive emails on your lambda, you should rely on gmail to push a notification to your topic. your lambda can be triggered the moment the notification arrives with the mailbox update notification. You'll have to invoke another api to get the corresponding message details and pass that into your lambda for further processing.


推荐阅读