PHPMailer\PHPMailer\SMTP::recordLastTransactionID
Extract and return the ID of the last SMTP transaction based on a list of patterns provided in SMTP::$smtp_transaction_id_patterns.
Relies on the host providing the ID in response to a DATA command. If no reply has been received yet, it will return null. If no pattern was matched, it will return false.
Signature
protected function recordLastTransactionID()
Returns
- bool|null|string