1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Dav: check checkPublicFolder calls

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1761 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-08-05 08:43:13 +00:00
parent e9e16b4567
commit 0b5a22f63f

View File

@ -482,8 +482,6 @@ public class DavExchangeSession extends ExchangeSession {
@Override
protected void buildSessionInfo(HttpMethod method) throws DavMailException {
checkPublicFolder(method);
buildMailPath(method);
// get base http mailbox http urls
@ -540,6 +538,7 @@ public class DavExchangeSession extends ExchangeSession {
if (mailPath != null) {
// Exchange 2003
serverVersion = "Exchange2003";
checkPublicFolder(method);
try {
buildEmail(method.getURI().getHost());
} catch (URIException uriException) {
@ -553,6 +552,9 @@ public class DavExchangeSession extends ExchangeSession {
disableGalLookup = true;
getEmailAndAliasFromOptions();
checkPublicFolder(method);
// failover: try to get email through Webdav and Galfind
if (alias == null || email == null) {
try {