Please do not cross post between forums. It does not get your question answered any faster
and only clutters the forums with duplicate respones. Further, if you crost post you
aren't guaranteed to get a pleasant response ;-)
There is nothing fundamentally different about sending mail in JBoss versus using the
regular JavaMail API. I would suggest looking at the JavaMail tutorial, or the Java
Almanac code examples involving JavaMail.
The only *real* difference is in how a Mail Session is acquired. This is done via JNDI and
should be done using a resource reference.
A quick example can be found here:
http://java.sun.com/j2ee/sdk_1.2.1/techdocs/guides/ejb/html/Advanced3.html.
There are quite a few examples and tutorials on this topic around. A simple Google will
serve you well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990869#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...