PHPMailer\PHPMailer

PHPMailer::__destruct()publicWP 1.0

Destructor.

Method of the class: PHPMailer{}

No Hooks.

Return

null. Nothing (null).

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->__destruct();

PHPMailer::__destruct() code WP 6.6.2

public function __destruct()
{
    //Close any open SMTP connection nicely
    $this->smtpClose();
}