Java will only contact the SMTP server when you call "Transport.send()".
----- Original Message ----- From: "Peter Vertes" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 10:46 PM Subject: Java Mail Question > Hello All, > > Quick question about Tomcat and Java Mail. When I create a JNDI > mail resource will it act like a Connection Pool ? Meaning, will there > always be a session logged into the specified SMTP server or will Tomcat > only log into the SMTP server once I explicitly ask for a session ? > Thanks in advance... > > -Pete > > -- > perl -e 'print pack("H*", "70766572746573406E79632E72722E636F6D0A")' > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]