如何配置 SES 以在 aws 中调用 lambda 函数

问题描述 投票:0回答:1

我有自己的电子邮件地址

[email protected]
。当收件箱 ([email protected]) 收到邮件时,它应该触发 lambda 函数。

所以对于这个用例,我在 SES 电子邮件接收规则集中输入电子邮件地址

[email protected]
作为收件人条件。然后我尝试从不同的邮件 ID 向
[email protected]
发送邮件,但没有调用 lambda。请指教。

amazon-web-services aws-lambda amazon-ses
1个回答
0
投票

好吧,我必须创建身份类型为域的身份(我验证我拥有使用 DKIM 的域,以便 SES 将接收发送到我的域的电子邮件)并设置电子邮件接收接收规则以在域我时调用 lambda 函数自己接收邮件。

https://docs.aws.amazon.com/ses/latest/dg/receiving-email-setting-up.html https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-lambda.html

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