mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-11 20:05:03 -05:00
Enable Webdav/Galfind failover on Exchange 2007
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1446 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
6d1b4e384a
commit
488b01756c
@ -497,6 +497,15 @@ public class DavExchangeSession extends ExchangeSession {
|
||||
disableGalLookup = true;
|
||||
|
||||
getEmailAndAliasFromOptions();
|
||||
// failover: try to get email through Webdav and Galfind
|
||||
if (mailPath == null || email == null) {
|
||||
try {
|
||||
buildEmail(method.getURI().getHost());
|
||||
} catch (URIException uriException) {
|
||||
LOGGER.warn(uriException);
|
||||
}
|
||||
}
|
||||
|
||||
// build standard mailbox link with email
|
||||
mailPath = "/exchange/" + email + '/';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user