/** * @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; }
/** * @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(); }
/** * @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; }
/** * @param Account $account * @return Pop3Storage */ function Pop3Storage(&$account) { MailServerStorage::MailServerStorage($account); $this->_pop3Mail =& new CPOP3(); }
/** * @param Account $account * @return Pop3Storage */ function Pop3Storage(&$account, &$mp) { $this->mailproc =& $mp; MailServerStorage::MailServerStorage($account); $this->_pop3Mail = new CPOP3(); }
/** * @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(); }