public function PHPMailer::getSentMIMEMessage

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

Returns the whole MIME message. Includes complete headers and body. Only valid post preSend().

Return value

string

See also

PHPMailer::preSend()

File

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

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public function getSentMIMEMessage() 
 {
  return rtrim($this->MIMEHeader . $this->mailHeader, "\n\r") . static::$LE . static::$LE . $this->MIMEBody;
}