PHPMailer\PHPMailer

PHPMailer::getSentMIMEMessage()publicWP 1.0

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

Method of the class: PHPMailer{}

No Hooks.

Return

String.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->getSentMIMEMessage();

Notes

PHPMailer::getSentMIMEMessage() code WP 6.5.2

public function getSentMIMEMessage()
{
    return static::stripTrailingWSP($this->MIMEHeader . $this->mailHeader) .
        static::$LE . static::$LE . $this->MIMEBody;
}