|
@@ 387-387 (lines=1) @@
|
| 384 |
|
//error_log("IMAP-Sendmail: Smartdata = ".array2string($smartdata)); |
| 385 |
|
|
| 386 |
|
// initialize our Mail |
| 387 |
|
if (!isset($this->mail)) $this->mail = Mail::getInstance(false,self::$profileID,true,false,true); |
| 388 |
|
$activeMailProfiles = $this->mail->getAccountIdentities(self::$profileID); |
| 389 |
|
// use the standardIdentity |
| 390 |
|
$activeMailProfile = Mail::getStandardIdentityForProfile($activeMailProfiles,self::$profileID); |
|
@@ 857-857 (lines=1) @@
|
| 854 |
|
if (!$mimesupport && ($key = array_search('4', $bodypreference))) unset($bodypreference[$key]); |
| 855 |
|
|
| 856 |
|
//$this->debugLevel=4; |
| 857 |
|
if (!isset($this->mail)) $this->mail = Mail::getInstance(false,self::$profileID,true,false,true); |
| 858 |
|
ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' FolderID:'.$folderid.' ID:'.$id.' TruncSize:'.$truncsize.' Bodypreference: '.array2string($bodypreference)); |
| 859 |
|
$account = $_folderName = $xid = null; |
| 860 |
|
$this->splitID($folderid,$account,$_folderName,$xid); |
|
@@ 1256-1256 (lines=1) @@
|
| 1253 |
|
|
| 1254 |
|
$this->splitID($folderid, $account, $folder); |
| 1255 |
|
|
| 1256 |
|
if (!isset($this->mail)) $this->mail = Mail::getInstance(false,self::$profileID,true,false,true); |
| 1257 |
|
|
| 1258 |
|
$this->mail->reopen($folder); |
| 1259 |
|
$attachment = $this->mail->getAttachment($id,$part,0,false,true,$folder); |
|
@@ 1345-1345 (lines=1) @@
|
| 1342 |
|
$this->splitID($folderid, $account, $srcFolder); |
| 1343 |
|
$this->splitID($newfolderid, $account, $destFolder); |
| 1344 |
|
ZLog::Write(LOGLEVEL_DEBUG, "IMAP-MoveMessage: (SourceFolder: '$srcFolder' id: '$id' DestFolder: '$destFolder' )"); |
| 1345 |
|
if (!isset($this->mail)) $this->mail = Mail::getInstance(false,self::$profileID,true,false,true); |
| 1346 |
|
$this->mail->reopen($destFolder); |
| 1347 |
|
$status = $this->mail->getFolderStatus($destFolder); |
| 1348 |
|
$uidNext = $status['uidnext']; |
|
@@ 1758-1758 (lines=1) @@
|
| 1755 |
|
|
| 1756 |
|
if ($type != 'mail') return false; |
| 1757 |
|
|
| 1758 |
|
if (!isset($this->mail)) $this->mail = Mail::getInstance(false,self::$profileID,true,false,true); |
| 1759 |
|
|
| 1760 |
|
$this->mail->reopen($folder); |
| 1761 |
|
|