PHPMailer\PHPMailer
PHPMailer::isError
Check if an error occurred.
Method of the class: PHPMailer{}
No Hooks.
Returns
true|false. True if an error did occur
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->isError();
PHPMailer::isError() PHPMailer::isError code WP 7.0
public function isError()
{
return $this->error_count > 0;
}