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.
Return
String
.
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->getSentMIMEMessage();
Notes
- See: PHPMailer::preSend()
PHPMailer::getSentMIMEMessage() PHPMailer::getSentMIMEMessage code WP 6.8
public function getSentMIMEMessage() { return static::stripTrailingWSP($this->MIMEHeader . $this->mailHeader) . static::$LE . static::$LE . $this->MIMEBody; }