PHPMailer\PHPMailer

PHPMailer::__destruct()publicWP 1.0

Destructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of PHPMailer::__destruct() WP 6.0

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