public function PHPMailer::getLastMessageID

5.x PHPMailer.php public PHPMailer::getLastMessageID()

Return the Message-ID header of the last email. Technically this is the value from the last time the headers were created, but it's also the message ID of the last sent message except in pathological cases.

Return value

string

File

inc/PHPMailer/src/PHPMailer.php, line 1222

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public function getLastMessageID() 
 {
  return $this->lastMessageID;
}