Elleined / email-sender-api

API for sending email

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

email-sender

API for sending email

How to send email

  • Goto Google Account
  • Search App Password
  • In Select App Choose Other(Custom name) and provide name you want
  • Click generate
  • Copy the 16 letter characters that is your app password
  • Go to application.properties set these following
spring.mail.username=juandelacruz@gmail.com  
spring.mail.password=abcdefghijkl
app.name=my_app
  • Check API endpoints in Postman.

Technologies used

  • Spring boot
  • Spring mvc
  • Java mail API
  • Hibernate validator

Useful links

Run with Docker

  1. Docker Run Email Sender API
docker run -itd --rm -p 8091:8091 --name esa_app --env-file ./esa.env elleined/esa

Run with Docker Compose

docker compose --env-file <env_file_path> up

Check API endpoints in Postman

Run in Postman

About

API for sending email


Languages

Language:Java 98.8%Language:Dockerfile 1.2%