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
preguntada hace 2 años1199 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas