Modificar el mail.properties con usuario y contraseña, dicho correo debe tener habilitado el servidor smtp, usaremos gmail en este ejemplo

git clone https://github.com/newUserRepo/PoCEmailSender.git
cd pocemailsender

luego ejecutar con el siguente comando

mvn spring-boot:run

abrir el navegador

http://localhost:8080

alt text