This project is to sending email to customers in html template or plain text with attachments. We built this as a micro service in order to send any kind of notification to customers like Email, SMS or Social Media Messages, etc. So you can focus only on building real business value applications. You can create you own email template and override dynamic values from the client.
-
From the root directory run the following command
mvn install
-
If you use Intellij, It should have detected it as Spring boot application and you should able to see run configuration for this. Otherwise run the below command from the gmanage-base directory.
mvn spring-boot:run
-
Now you have started the application successfully. We have created in-built test endpoints as follows.
http://localhost:8080/mail/send - Two endpoints which consumes different content type. One is for sending json Object with attachment.
another endpoint is to send only json object.
-
If you face any issue during the application startup. Please check the below points. If it is not helpful, please create an issue in this repository or notify us.
- Check email configuration in "application.properties"
Stay tuned :)