protected function POP3::catchWarning

5.x POP3.php protected POP3::catchWarning($errno, $errstr, $errfile, $errline)

POP3 connection error handler.

Parameters

int $errno:

string $errstr:

string $errfile:

int $errline:

File

inc/PHPMailer/src/POP3.php, line 412

Class

POP3
PHPMailer POP-Before-SMTP Authentication Class. Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. 1) This class does not support APOP authentication. 2) Opening and closing lots of POP3 connections can be quite slow. If you…

Namespace

PHPMailer\PHPMailer

Code

protected function catchWarning($errno, $errstr, $errfile, $errline) 
 {
  $this->setError(
  'Connecting to the POP3 server raised a PHP warning:' .
    "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline"
    );
}