Hello,
I need to implement failover functionality for sending mails using
jboss seam. I tried to configure two
JNDINames in mail-service.xml. But I'm not getting how i can set 2nd JNDI name in code.
Also, I'm not getting how can i set smtp host in code.
MY Code:
My mail-service.xml:
Can you please help me on either how can i configure & use two JNDIs OR set SMTP host server on the fly for sending mail ?
Thanks a lot in advance.
Regards,
Saurabh