• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring Email Sending with Spring

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

Eg:
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:
192.168.xxx.13
192.168.xxx.14
192.168.xxx.15

How to implement this:

Thank in advance.
Kunal
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic