mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05: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:
parent
e9e16b4567
commit
0b5a22f63f
@ -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 {
|
||||
@ -1301,7 +1303,7 @@ public class DavExchangeSession extends ExchangeSession {
|
||||
@Override
|
||||
public byte[] getEventContent() throws IOException {
|
||||
byte[] result = null;
|
||||
LOGGER.debug("Get event subject: " + subject + "href: "+getHref()+" permanentUrl: " + permanentUrl);
|
||||
LOGGER.debug("Get event subject: " + subject + " href: "+getHref()+" permanentUrl: " + permanentUrl);
|
||||
// try to get PR_INTERNET_CONTENT
|
||||
try {
|
||||
result = getICSFromInternetContentProperty();
|
||||
|
Loading…
Reference in New Issue
Block a user