PHPMailer\PHPMailer

SMTP::getError()publicWP 1.0

Get the latest error.

{} It's a method of the class: SMTP{}

No Hooks.

Return

Array.

Usage

$SMTP = new SMTP();
$SMTP->getError();

Code of SMTP::getError() WP 6.0

public function getError()
{
    return $this->error;
}