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
gefragt vor 2 Jahren1199 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen