简体   繁体   中英

Amazon SES - Send email using IAM Roles

I am using the Amazon SES Java SDK and I want to send a mail from my EC2 server whilst taking advantage of IAM roles

I am wondering is this possible using just Java mail or do I need to use the SES SDK?

Can anyone point me at any examples?

You can send mails directly using SMTP credentials generated from Amazon SES account using Java Mail. However, if using API's to send emails, it is recommended to use the SDK.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM