dcsimg

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.