Spring boot POC to send for Emails using a message broker(Rabbit/Active)MQ
Uses H2 Database, RabbitMQ, greenmail
To use with with RabbitMQ:
- Install RabbitMQ
- Enable mangement plugin from rabbitmq admin prompt
- login to the management console and create a queue 'emaillist'
- Run greenmail service. java -Dgreenmail.setup.test.smtp -Dgreenmail.setup.test.imap -Dgreenmail.users=test1:pwd1 -jar greenmail-standalone-1.5.9.jar
- Run the spring boot project.
- Send post request with json/xml input. sample below
{ "charSequenceId": "1100", "emailIds": [ "test1@gmail.com", "test2@eeoc.gov" ] } [PP-1111]