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?