Wednesday, August 17, 2011 03:42 PM
to send a bulk messages,
You can implement a thread pooling concept, its like each sending email will be one task or thread.
the concept is: first, all the messages are added in a queue
then one by one we will get the messages, then added to a pool called thread pool. that means for each message , there will be a new task.such that, they can process simultaneously.