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.

Метод класса: SMTP{}

Хуков нет.

Возвращает

true|false|Строку|null.

Использование

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

Заметки

  • Смотрите: recordLastTransactionID()

Код SMTP::getLastTransactionID() WP 6.8.1

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