umesh-lewa / EmailServiceApp

SpringBoot Application to parse from CSV and automatically send emails at specified intervals using CronJob and Gmail SMTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringBoot Application to Automaticallly Send Emails

Uses Gmail SMTP

*need to configure your Gmail SMTP settings before deployment

Input is CSV file

Uses CSVParser to parse the input data

CSV data should be in following format,

Firstname Lastname Email Phone Gender Username Emily Lewis wov@ofa.co.uk (277) 963-3292 Male j2Rxkm@

FrontEnd in Simple JSP page with a Form

Trigering Submit will a start a cronJob.

Inserts Each Email with Success/Failure Status into Heroku ClearDB MySQL

Viewing results will get Previously sent Email stats from DB.

Heroku Commands for Deployment,

git init

git add .

git commit -m "initial commit"

heroku git:remote -a "your heroku app name"

git remote rename heroku heroku-EmailServiceApp

git push heroku-EmailServiceApp master --> triggers the build automatically

heroku open --> to start the app

heroku logs --tail

To run locally,

Clone the Repo -> Add to STS Workspace -> Right Click -> Run as Spring boot application

About

SpringBoot Application to parse from CSV and automatically send emails at specified intervals using CronJob and Gmail SMTP


Languages

Language:Java 99.1%Language:JavaScript 0.5%Language:CSS 0.4%