https://support.google.com/accounts/answer/185833#zippy=%2Cwhy-you-may-need-an-app-password
https://support.google.com/mail/answer/7104828?hl=en
java -jar target/email-service-1.0.0.jar --spring.mail.password= --email.password=
- Maven Package
mvn clean package -DskipTests
- Docker Build, Push & Run
docker build -t alokkusingh/email-service:latest -t alokkusingh/email-service:2.0.0 --build-arg JAR_FILE=target/email-service-2.0.0.jar .
docker push alokkusingh/email-service:latest
docker push alokkusingh/email-service:2.0.0
docker run -d -p 8081:8081 --rm --name email-service alokkusingh/email-service --spring.mail.password= --email.password=
curl -X GET http://localhost:8081/home/email/send