Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Time taken to send a mail!  RSS feed

 
AshishcKumar singh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody!

I am trying to send a mail using a Mail Bean. But the time taken is much. I am using gmails smtp server for the same. Can i do make a thread in the mail bean and run the send function through that thread?? Would the execution be returned back to the caller jsp page quickly and the mailer thread'd keep doing its task in background?? Is it possible?..

Can somebody propose a solution for this time problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!