PHPMailer\PHPMailer\PHPMailer::getLastMessageID PHP Method

getLastMessageID() public method

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.
public getLastMessageID ( ) : string
return string
    public function getLastMessageID()
    {
        return $this->lastMessageID;
    }