This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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: