I am creating a new program to send a bulk mail after successfully uploading file into application server.
I have used Session and Initial context which lookup mailxer. MimeMessage object refer to session object. I have initialized once at the start of thread.
After completion of thread i have again upload other file but this time mails didn't generate. why ?

codventure