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:
parent
577ea1ecdb
commit
0cf77d61b1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user