This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Sending email from java. Pls Help!!!
Can we attach multiple email addresses through spring email
sending emil with spring mail abstact layer
how to detect a firewall
Problem at sending email