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