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
asked 2 years ago1174 views
1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions