Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to repeatedly send messages, to a different set of recipients each time. But invoking Transport.send(Message) causes a new Transport session to be established each time. This is suboptimal in this case, so how do I get around this?

0
Posted

I want to repeatedly send messages, to a different set of recipients each time. But invoking Transport.send(Message) causes a new Transport session to be established each time. This is suboptimal in this case, so how do I get around this?

0

Create an instance of the appropriate Transport object, connect to it and invoke the

Related Questions

Experts123