Sending email via SES without SMTP

0

**Sending email via SES without SMTP **I would like to know if we can send emails via SES using a KEY - SECRET and REGION instead of using SMTP. If this is the case, then is it possible to Secure it by limiting the use of the API from a specific IP Address ( NAT Gateway) Million of thanks

Abdel W
已提问 2 年前1199 查看次数
1 回答
0

Yes, you can send email using a key/secret for an iam user rather than via the smtp.

Here are sample policy permissions:
https://docs.aws.amazon.com/ses/latest/dg/control-user-access.html.

And here is the api/cli reference, different language references are linked at the bottom:
https://docs.aws.amazon.com/ses/latest/APIReference/API_SendEmail.html

I've never tried setting the source ip condition for sending email in a policy, but i'm not aware of any reason why it shouldn't work. Example permissions are here:
https://aws.amazon.com/premiumsupport/knowledge-center/iam-restrict-calls-ip-addresses/

keebs
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则