PHPMailer\PHPMailer
PHPMailer::getSentMIMEMessage
Returns the whole MIME message. Includes complete headers and body. Only valid post preSend().
Method of the class: PHPMailer{}
No Hooks.
Returns
String.
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->getSentMIMEMessage();
Notes
- See: PHPMailer::preSend()
PHPMailer::getSentMIMEMessage() PHPMailer::getSentMIMEMessage code WP 6.9.1
public function getSentMIMEMessage()
{
return static::stripTrailingWSP($this->MIMEHeader . $this->mailHeader) .
static::$LE . static::$LE . $this->MIMEBody;
}