Tuesday, January 14, 2003 01:51 AM
I'm trying to send an Email in a thread created by a Timer. It doesn't works. When, in debug, I arrive at the instruction
"Session session = Session.getDefaultInstance(props, null);"
, JBuilder tells me "Process Terminated" and the program stops.
When I send the mail in the main process, it works well.
Has somebody encountered the same problem ? Is there something special to do to use the JavaMail API within a thread ?
Thank you very much.