This Repository contains Restful Api for sending E-mail using smtp.gmail.com
host.
Download or clone -> Import project ->Existing Maven Projects -> Run as Spring Boot project
1.sendMail
2.sendMailWithAttachment
spring.mail.username = *********@gmail.com
spring.mail.password = *********
user.setEmailAddress("Your_Email_Address");
- Send Mail without Attachment :
http://localhost:8080/send-mail
- Send Mail with Attachment :
http://localhost:8080/send-mail-attachment
https://medium.com/cornercode/sending-e-mail-using-spring-boot-rest-api-16bf9c0697aa
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details
- Mukul Jaiswal -