add support for sharedmailbox in office365
with 4 code lines enable support when a mailbox is shared...
This commit is contained in:
parent
60b2479389
commit
d8ae40c647
@ -762,7 +762,12 @@ class EmailCollector extends CommonObject
|
|||||||
if ($norsh || !empty($conf->global->IMAP_FORCE_NORSH)) {
|
if ($norsh || !empty($conf->global->IMAP_FORCE_NORSH)) {
|
||||||
$flags .= '/norsh';
|
$flags .= '/norsh';
|
||||||
}
|
}
|
||||||
|
//Used in shared mailbox from Office365
|
||||||
|
if (strpos($this->login,'/') != false) {
|
||||||
|
$partofauth = explode ('/',$this->login);
|
||||||
|
$flags .= '/authuser='.$partofauth[0].'/user='.$partofauth[1];
|
||||||
|
}
|
||||||
|
|
||||||
$connectstringserver = '{'.$this->host.':993'.$flags.'}';
|
$connectstringserver = '{'.$this->host.':993'.$flags.'}';
|
||||||
|
|
||||||
return $connectstringserver;
|
return $connectstringserver;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user