PHPMailer\PHPMailer
SMTP::getError
Get the latest error.
Method of the class: SMTP{}
No Hooks.
Returns
Array.
Usage
$SMTP = new SMTP(); $SMTP->getError();
SMTP::getError() SMTP::getError code WP 7.0
public function getError()
{
return $this->error;
}