mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32: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 {
|
public static void checkConfig() throws IOException {
|
||||||
String url = Settings.getProperty("davmail.url");
|
String url = Settings.getProperty("davmail.url");
|
||||||
HttpClient httpClient = DavGatewayHttpClientFacade.getInstance();
|
HttpClient httpClient = DavGatewayHttpClientFacade.getInstance(url);
|
||||||
GetMethod testMethod = new GetMethod(url);
|
GetMethod testMethod = new GetMethod(url);
|
||||||
try {
|
try {
|
||||||
// get webMail root url (will not follow redirects)
|
// get webMail root url (will not follow redirects)
|
||||||
|
Loading…
Reference in New Issue
Block a user