File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Configuring Email Sending with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Configuring Email Sending with Spring" Watch "Configuring Email Sending with Spring" New topic
Author

Configuring Email Sending with Spring

Kunal Bhatia
Greenhorn

Joined: Aug 28, 2009
Posts: 11
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring Email Sending with Spring