Hi, from my book I'm learning that a J2EE container should provide support
for JavaMail and that in order to get a Mail session it would be enough to
lookup something like the following:

javax.mail.Session session =
       (javax.mail.Session) initial.lookup("java:/Mail");

Now, my question is: where do I configure the Mail server information? I
mean, I have a mail server host, a mail username a mail password and so on.

Thanks,

Marco





-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to