Merge pull request #19768 from randallmoraes/patch-1
add support for sharedmailbox in office365
This commit is contained in:
commit
388caadcba
1 changed files with 5 additions and 0 deletions
|
|
@ -762,6 +762,11 @@ class EmailCollector extends CommonObject
|
|||
if ($norsh || !empty($conf->global->IMAP_FORCE_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.'}';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue