SMTP::recordLastTransactionID

SummerySummery

Extract and return the ID of the last SMTP transaction based on a list of patterns provided in SMTP::$smtp_transaction_id_patterns.

Syntax

SMTP::recordLastTransactionID()

DescriptionDescription

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.

ReturnReturn

(bool|null|string)

SourceSource

File: wp-includes/class-smtp.php


			
Scroll to Top