Re: Can JavaMail be used from a Message Driven Bean?
Tuesday, March 4, 2003 11:03 AM
You should configure a JavaMail resource for your EJB container and access it by JNDI. It works just like JavaMail in an application without setting up the connection first. You just get it from the JNDI tree.
This should work for your MDB just like it workes for my stateless session bean.