Tomcat 6 thread safe email queue (javax.mail.*)
Posted
by Eric V
on Stack Overflow
See other posts from Stack Overflow
or by Eric V
Published on 2010-03-26T23:38:54Z
Indexed on
2010/03/26
23:43 UTC
Read the original article
Hit count: 180
Hi I have design/architecture question. I would like to send emails from one of my jsp pages. I have one particular issue that has been a little bit of a problem. there is an instance where one of the pages will need to send around 50 emails at near the same time. I would like the messages sent to a queue where a background thread will actually do the email sending. What is the appropriate way to solve this problem? If you know of a tutorial, example code or tomcat configuration is needed please let me know.
Thanks,
© Stack Overflow or respective owner