[jboss-user] [Installation, Configuration & Deployment] - JavaMail: configuring the Jboss MailService for multiple acc

Notarzt-hd do-not-reply at jboss.com
Sun Oct 1 10:14:24 EDT 2006


Hi all,

i am trying to make an webbased email application. I thought i could use JavaMail for all SMTP&POP3 operations. JbossAS is providing an JavaMail implementation known as "MailService"!? I found, in the WWW and this forums, information how to configure this Service (file: mail-service.xml) and how to obtain the JavaMail Session (@Ressource - Annotation). But it seems to me that with the JbossAS-MailService it is only possible to create one Email-Account per JbossAS installation!? 
As i want to make an email application for 30 to 50 people using an web interface, i would like (at runtime for every single (mail)session) to tell JbossAS which eMail Account with wich username and password to use (With "normal" JavaMail implementations this is possible as I can set properties for retrieving the Session).
Is that possible with JbossAS? Or do i need beside the JbossAS to install another JavaMail implementation??

Thx for answers and proposals!
Michael

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975332#3975332

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975332



More information about the jboss-user mailing list