fix2 exchange 2013 public folders

This commit is contained in:
dev_amdtel 2014-10-17 20:34:57 +04:00
parent f7de166409
commit 510f0e2810

View file

@ -4402,10 +4402,6 @@ namespace WebsitePanel.Providers.HostedSolution
if (mailEnabled) if (mailEnabled)
{ {
EnableMailPublicFolderInternal(organizationId, id, accountName, name, domain); EnableMailPublicFolderInternal(organizationId, id, accountName, name, domain);
// exchange transport needs access to create new items in order to deliver email
AddPublicFolderClientPermission(runSpace, parentFolder, "Anonymous", "CreateItems");
AddPublicFolderClientPermission(runSpace, id, "Anonymous", "CreateItems");
} }
} }
@ -4700,6 +4696,10 @@ namespace WebsitePanel.Providers.HostedSolution
ExchangeLog.LogWarning("Attemp {0} to update mail public folder {1}", attempts, folder); ExchangeLog.LogWarning("Attemp {0} to update mail public folder {1}", attempts, folder);
System.Threading.Thread.Sleep(5000); System.Threading.Thread.Sleep(5000);
} }
// exchange transport needs access to create new items in order to deliver email
AddPublicFolderClientPermission(runSpace, folder, "Anonymous", "CreateItems");
} }
finally finally
{ {