コード例 #1
0
 /**
  * @param Account $account
  * @return ImapStorage
  */
 function ImapStorage(&$account)
 {
     MailServerStorage::MailServerStorage($account);
     $this->_imapMail =& new IMAPMAIL();
     $this->_imapMail->host = $account->MailIncHost;
     $this->_imapMail->port = $account->MailIncPort;
     $this->_imapMail->user = $account->MailIncLogin;
     $this->_imapMail->password = $account->MailIncPassword;
 }
コード例 #2
0
 /**
  * @access public
  * @param Account $account
  * @return XmailStorage
  */
 function WMserverStorage(&$account)
 {
     MailServerStorage::MailServerStorage($account);
     $email = $account->Email;
     $basePath = $this->_settings->WmServerRootPath;
     $this->_wmserver = new WMserverFS($basePath, $email);
     $this->_wmadmin = new CWmServerConsole();
     $this->_log =& CLog::CreateInstance();
 }
コード例 #3
0
 /**
  * @param Account $account
  * @return ImapStorage
  */
 function ImapStorage(&$account, $pathToClassFolder)
 {
     MailServerStorage::MailServerStorage($account);
     require_once $pathToClassFolder . 'libs/class_imap.php';
     require_once $pathToClassFolder . 'class_folders.php';
     $this->_imapMail = new IMAPMAIL();
     $this->_imapMail->host = $account->MailIncHost;
     $this->_imapMail->port = $account->MailIncPort;
     $this->_imapMail->user = $account->MailIncLogin;
     $this->_imapMail->password = $account->MailIncPassword;
 }
コード例 #4
0
 /**
  * @param Account $account
  * @return Pop3Storage
  */
 function Pop3Storage(&$account)
 {
     MailServerStorage::MailServerStorage($account);
     $this->_pop3Mail =& new CPOP3();
 }
コード例 #5
0
 /**
  * @param Account $account
  * @return Pop3Storage
  */
 function Pop3Storage(&$account, &$mp)
 {
     $this->mailproc =& $mp;
     MailServerStorage::MailServerStorage($account);
     $this->_pop3Mail = new CPOP3();
 }
コード例 #6
0
 /**
  * @param Account $account
  * @param string $pathToClassFolder
  * @return Pop3Storage
  */
 function Pop3Storage(&$account, $pathToClassFolder)
 {
     MailServerStorage::MailServerStorage($account);
     require_once $pathToClassFolder . 'libs/class_pop3.php';
     $this->_pop3Mail = new CPOP3();
 }