1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Add a new setting to retrieve proxies from system configuration

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@972 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-03-24 10:23:26 +00:00
parent 577ea1ecdb
commit 0cf77d61b1

View File

@ -174,7 +174,7 @@ public final class ExchangeSessionFactory {
*/
public static void checkConfig() throws IOException {
String url = Settings.getProperty("davmail.url");
HttpClient httpClient = DavGatewayHttpClientFacade.getInstance();
HttpClient httpClient = DavGatewayHttpClientFacade.getInstance(url);
GetMethod testMethod = new GetMethod(url);
try {
// get webMail root url (will not follow redirects)