Sends a message to an SES
so that the mail addresses will receive the email.
-
SESMessengerServiceImpl
has the method that is capable of sending an email toSES
. -
ClientBuilderManager
utility class build anSES
client to accessSES
service APIs. -
PropertyManager
reads required properties from the configuration file makes them available across the application.
-
Create an
IAM Group
. -
Create an
IAM User
. -
Add created
IAM User
toIAM Group
'sAmazon SES
service. -
Go to
IAM Users
, select the created user and generatekey
/value
pair inSecurity credentials
tab. -
Create an
SES
domain. -
In the
SES
domain, add your email id and verify.
This is a simple Java
Maven
project.
Fill in the values in the properties
file.
Add TO
and FROM
email addresses. FROM
email address should be the verified email id.
Run App
class.