Skip to content

Simple Spring Boot rest service to send Email using Gmail

Notifications You must be signed in to change notification settings

GilHyeon/SpringBootEmailDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SpringBootEmailDemo

Simple Spring Boot rest service to send Email using Gmail

Run project as Spring Boot App
Hit the service using rest client like Postman

Rest Service URL: http://localhost:8080/email/send

Request Body:

{
  "recipientEmailId": "your email ID",
  "emailSubject": "test Email",
  "emailMessage": "Hello , hope you are doing awesome!!!"
}

Note: replace your email ID with the email id to whome you want to send email.
Also replace the username with your Gmail id and password in application.properties file

About

Simple Spring Boot rest service to send Email using Gmail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%