File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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