Lines Matching refs:this
53 $this->setServer($server);
54 $this->setPort($port);
55 $this->setEncryption($encryption);
63 $this->server = (string) $server;
71 $this->port = (int) $port;
79 return $this->server;
87 return $this->port;
95 $this->encryption = (int) $enc;
103 return $this->encryption;
124 $url = $this->getServer();
125 if ($this->getEncryption() == self::ENC_SSL) $url = "ssl://" . $url;
130 $log->add("Trying to connect to POP3 server ".$url." on port ".$this->getPort());
133 if ((false === $this->handle = @fsockopen($url, $this->getPort(), $errno, $errstr, 5)))
145 if ($this->handle !== null)
147 if (false === fclose($this->handle))
153 $this->handle = null;
162 if (false === $response = fgets($this->handle))
183 if (false === fwrite($this->handle, $command . "\r\n"))