A sample spring boot application using spring-boot-starter-mail to send email.
- mvn clean install
- mvn spring-boot:run
The server is now running on port 8080
I use python for this.
sudo python -m smtpd -n -c DebuggingServer localhost:25
curl -X POST http://localhost:8080/email/trigger