function SMTP::getLastTransactionID

5.x SMTP.php public 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.

Return value

bool|null|string

See also

recordLastTransactionID()

File

inc/PHPMailer/src/SMTP.php, line 1343

Class

SMTP
PHPMailer RFC821 SMTP email transport class. Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

Code

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