31 require_once
'Auth/Container.php';
35 require_once
'PEAR.php';
39 require_once
'Net/Vpopmaild.php';
78 if (isset($server) && !is_null($server)) {
79 if (is_array($server)) {
80 if (isset($server[
'host'])) {
81 $this->server = $server[
'host'];
83 if (isset($server[
'port'])) {
84 $this->port = $server[
'port'];
87 if (strstr($server,
':')) {
88 $serverparts = explode(
':', trim($server));
89 $this->server = $serverparts[0];
90 $this->port = $serverparts[1];
111 $vpopmaild =&
new Net_Vpopmaild();
114 $res = $vpopmaild->connect($this->server, $this->port, $this->method);
115 }
catch (Net_Vpopmaild_FatalException $e) {
121 $result = $vpopmaild->clogin($username, $password);
123 }
catch (Net_Vpopmaild_Exception $e) {
const AUTH_LOG_DEBUG
Auth Log level - DEBUG.
fetchData($username, $password)
fetchData()
& raiseError($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false)
This method is a wrapper that returns an instance of the configured error class with this object's de...
log($message, $level=AUTH_LOG_DEBUG)
Log a message to the Auth log.
Auth_Container_Vpopmaild($server=null)
Constructor of the container class.