This is a simple Spring Boot application that sends an email using the JavaMailSender interface.
You can see below the steps to run the application.
./mvnw clean package
docker-compose up -d
You can send an email sending a POST request to the endpoint /email
with the following body:
{
"receiver": "<String>",
"subject": "<String>",
"content": "<String>"
}