Skip to content

This POC is developed for send simple text email or attachment email to multiple user using Spring Boot Rest Service

License

Notifications You must be signed in to change notification settings

admindebu/Spring-Boot-Email-Notification-Rest-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Spring-Boot-Email-Notification-Rest-Service

This POC is developed for send simple text email or attachment email to multiple user using Spring Boot Rest Service

YouTube Video Explanation Step by Step : https://youtu.be/JsAoKViy3PY

YouTUbe Video : org.springframework.mail.MailAuthenticationException: Authentication failed : Username and Password not accepted

https://youtu.be/MHrKr2TFiMM

Rest API URL

  1. Send Simple text Email : http://localhost:8080/v1/notification/textemail , method : POST , Mediatype : application/json Body : { "sendTo" : "[email protected],[email protected]", "subject" : "Test", "body" : "Hello" }

  2. Send Attachment Email : http://localhost:8080/v1/notification/attachemail , method : POST from-data: key = file and value is the upload file Body : { "sendTo" : "[email protected],[email protected]", "subject" : "Test", "body" : "Hello" }

Here we are giving receipant email address in the properties files in this configuration email.address=[email protected],[email protected],etc...

About

This POC is developed for send simple text email or attachment email to multiple user using Spring Boot Rest Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published