PHPMailer\PHPMailer

SMTP::getLastTransactionID()publicWP 1.0

Get the queue/transaction ID of the last SMTP transaction If no reply has been received yet, it will return null. If no pattern was matched, it will return false.

Method of the class: SMTP{}

No Hooks.

Return

true|false|String|null.

Usage

$SMTP = new SMTP();
$SMTP->getLastTransactionID();

Notes

  • See: recordLastTransactionID()

SMTP::getLastTransactionID() code WP 6.5.2

public function getLastTransactionID()
{
    return $this->last_smtp_transaction_id;
}