Using JavaMail from an EJB
0 posts in topic
Flat View  Flat View

Posted By:   Binny_G
Posted On:   Wednesday, March 13, 2002 09:49 PM

I have written a standalone Java program which uses JavaMail for sending alerts to users. Can I use the same methods from within an EJB?

I believe that JavaMail will open a socket connection to the Mail Server to send a mail. So this might cause problems if being run from an EJB. If this is correct, what is the right approach to send mails from an EJB?

About | Sitemap | Contact