gehe zur Dokumentation dieser Datei
169 if (
$port ===
false) {
172 $this->port = (integer)
$port;
175 if ($timeout ===
false) {
178 $this->tval = (integer)$timeout;
180 $this->do_debug = $debug_level;
184 $this->errors = array();
186 $result = $this->
connect($this->host, $this->port, $this->tval);
188 $login_result = $this->
login($this->username, $this->password);
210 if ($this->connected) {
216 set_error_handler(array($this,
'catchWarning'));
218 if (
$port ===
false) {
223 $this->pop_conn = fsockopen(
231 restore_error_handler();
234 if ($this->pop_conn ===
false) {
237 'error' =>
"Failed to connect to server $host on port $port",
245 stream_set_timeout($this->pop_conn,
$tval, 0);
252 $this->connected =
true;
268 if (!$this->connected) {
269 $this->
setError(
'Not connected to POP3 server');
279 $this->
sendString(
"USER $username" . self::CRLF);
283 $this->
sendString(
"PASS $password" . self::CRLF);
302 @fclose($this->pop_conn);
303 }
catch (Exception $e) {
317 $response = fgets($this->pop_conn, $size);
318 if ($this->do_debug >= 1) {
319 echo
"Server -> Client: $response";
332 if ($this->pop_conn) {
333 if ($this->do_debug >= 2) {
334 echo
"Client -> Server: $string";
336 return fwrite($this->pop_conn, $string, strlen($string));
350 if (substr($string, 0, 3) !==
'+OK') {
352 'error' =>
"Server reported an error: $string",
369 $this->errors[] = $error;
370 if ($this->do_debug >= 1) {
372 foreach ($this->errors as $error) {
390 'error' =>
"Connecting to the POP3 server raised a PHP warning: ",
393 'errfile' => $errfile,
394 'errline' => $errline
Sie sind hier: Home » MyOOS Benutzerhandbuch » PHPMailer
Korrekturen, Hinweise und Ergänzungen
Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag
Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.