Build the mail sending application intergrate with Spring Boot with Restful web services as well as project functioning sending to gmail and mailTrap.
- Java 1.8 +
- Maven 3.8 +
- Gmail Account & MailTrap Account
-
Clone the project
git clone https://github.com/himash79/Spring-Boot-Mail-Sender.git
-
Configure the Gmail app password and mailtrap
Lookup and follow the steps of "Project Config.txt" file.
-
Clean and build the project using maven
open command line (CMD) in project directory and execute 'mvn clean install'
-
Open project using intelij / eclipse
-
Setup configurations in application.properties file
- Both Gmail and Mailtrap Configuration.
-
Disable Anti-Malware Sotfware and expose Rest APIs