commit
ea7e0686df
1 changed files with 2 additions and 1 deletions
|
|
@ -1128,6 +1128,8 @@ class EmailCollector extends CommonObject
|
|||
$this->fetchFilters();
|
||||
$this->fetchActions();
|
||||
|
||||
$targetdir = ($this->target_directory ? $this->target_directory : ''); // Can be '[Gmail]/Trash' or 'mytag'
|
||||
|
||||
if (!empty($conf->global->MAIN_IMAP_USE_PHPIMAP)) {
|
||||
if ($this->acces_type == 1) {
|
||||
// Mode OAUth2 with PHP-IMAP
|
||||
|
|
@ -1233,7 +1235,6 @@ class EmailCollector extends CommonObject
|
|||
return -2;
|
||||
}
|
||||
$sourcedir = $this->source_directory;
|
||||
$targetdir = ($this->target_directory ? $this->target_directory : ''); // Can be '[Gmail]/Trash' or 'mytag'
|
||||
|
||||
$connectstringserver = $this->getConnectStringIMAP();
|
||||
$connectstringsource = $connectstringserver.imap_utf7_encode($sourcedir);
|
||||
|
|
|
|||
Loading…
Reference in a new issue