This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes mail-service.xml - multiple smtp accounts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "mail-service.xml - multiple smtp accounts" Watch "mail-service.xml - multiple smtp accounts" New topic
Author

mail-service.xml - multiple smtp accounts

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hello there,
I'm developing a message driven bean able to send emails.
As I'm quite new with EJB3 and JBoss, I first looked for more informations about it and if I'm not wrong I need to configure the mail-service.xml file.
The question is:
can I set multiple smtp accounts? I mean, I probably need to use one account only for a particulary EJB module and not share it across the others applications deployed in JBoss.

the file now looks like this, can you give me an idea, if possible, on how to achieve what I'd like to.
Thanks in advance.



trying to decode a woman mind....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mail-service.xml - multiple smtp accounts