aspose 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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "mail-service.xml - multiple smtp accounts" Watch "mail-service.xml - multiple smtp accounts" New topic

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....
subject: mail-service.xml - multiple smtp accounts
Similar Threads
Mail not send
Please Help!! Failed to send email from J2EE app, Jboss 4.2.3 server
configuring JBoss to use Gmail
Trying to send e-mail using JavaMail, JBoss 5, and JNDI
MDB @PostConstruct error