PHPMailer\PHPMailer
PHPMailer::__destruct()
Destructor.
Method of the class: PHPMailer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->__destruct();
PHPMailer::__destruct() PHPMailer:: destruct code WP 6.6.2
public function __destruct() { //Close any open SMTP connection nicely $this->smtpClose(); }