tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Update Request
Date Mon, 14 Jan 2002 12:00:49 GMT

When you are  creating a default mail session you are using the Session.getDefaultInstance
method - can this be changed to Session.getInstance.

The reason being that the former seems to create an instance for the JVM and regardless of
consequent changes to the SMTP host they are ignored. The latter resolves this problem.

Thanks & Regards
Asar Khan

------------------------------------------------------------- ---
        Visit our Internet site at

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message