Skip to content

Sample project to demonstrate how to send emails using aws ses using spring-boot

Notifications You must be signed in to change notification settings

Rajithkonara/aws-ses-sdk-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SES with Spring-Boot

This is a sample spring-boot project to demonstrate to send emails using aws ses and sdk

Blog post - https://www.rajith.me/2020/02/send-emails-using-aws-simple-email.html

Requirements

  • Java 8
  • Apache Maven 3.5.0 or higher

How to Run

  • Clone the project
  • add the aws region you are using to application.yml file
  • add a sender email address in application.yml note that sender email address should be verified by the SES
  • Build the project
mvn clean install
  • Run the application
java -jar target/ses-1.0.0-SNAPSHOT.jar
  • Send Request
POST  http://localhost:8080/api/v1/email
{
  "email": "[email protected]",
  "body": "hello from aws ses"
}

Reference Documentation

For further reference, please consider the following sections:

(Aws SES developer guide) https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-sdk-java.html

(Using aws credentials) https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/credentials.html

About

Sample project to demonstrate how to send emails using aws ses using spring-boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages