Commit 6d393422 authored by mku's avatar mku

ZP-452 #comment Reply/Forward on email of public folder does not work #time 20m

git-svn-id: https://z-push.org/svn/z-push/trunk@1736 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 7c073e1d
......@@ -473,6 +473,10 @@ class BackendZarafa implements IBackend, ISearchProvider {
$sendMailProps["sentrepresentingaddt"], $sendMailProps["sentrepresentinsrchk"]));
if(isset($sm->source->itemid) && $sm->source->itemid) {
// answering an email in a public/shared folder
if (!$this->Setup(ZPush::GetAdditionalSyncFolderStore($sm->source->folderid)))
throw new StatusException(sprintf("ZarafaBackend->SendMail() could not Setup() the backend for folder id '%s'", $sm->source->folderid), SYNC_COMMONSTATUS_SERVERERROR);
$entryid = mapi_msgstore_entryidfromsourcekey($this->store, hex2bin($sm->source->folderid), hex2bin($sm->source->itemid));
if ($entryid)
$fwmessage = mapi_msgstore_openentry($this->store, $entryid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment