PHPMailer\PHPMailer
SMTP::getLastTransactionID()
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.
{} It's a method of the class: SMTP{}
No Hooks.
Return
true|false|String|null
.
Usage
$SMTP = new SMTP(); $SMTP->getLastTransactionID();
Notes
- See: recordLastTransactionID()
Code of SMTP::getLastTransactionID() SMTP::getLastTransactionID WP 6.0
public function getLastTransactionID() { return $this->last_smtp_transaction_id; }