Context initial = new InitialContext();

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

msg = new MimeMessage(session);

Now you're all good to go.  Just use java mail api.  You'll use the transport 
to send it.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to