*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
configuring JBoss to use Gmail
MDB @PostConstruct error
Please Help!! Failed to send email from J2EE app, Jboss 4.2.3 server
Trying to send e-mail using JavaMail, JBoss 5, and JNDI
Mail not send