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
demandé il y a 2 ans1199 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions