• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring Email Sending with Spring

Kunal Bhatia
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Iam trying to implement Email functionality in my project with Spring Bean Injection here is my code

My concern is I have to implement a functionality in which , if there is a failover destination i.e a fallback from the default SMTP host, then it should try to retrieve the next smtp host value from the list of SMTP host listed somewhere be it properties file ..etx

if the default SMTP host is 192.168.xxx.12
and the mail is a fallback from this SMTP host then it should go to the next host like:

How to implement this:

Thank in advance.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic