tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asar.K...@reuters.com
Subject Update Request
Date Mon, 14 Jan 2002 12:00:49 GMT
Hi,

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 http://www.reuters.com

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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message