How do I send multiple messages using the same SMTP connection? When I use Transport.send(message), this always opens a new connection.

John Zukowski

The send method is static and doesn't care if you have connected or not. Use sendMessage.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact