You appear to be a bot. Output may be restricted
Description
Override postSend() so mail isn't actually sent.
Usage
MockPHPMailer::postSend();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/includes/mock-mailer.php
Lines:
1 to 13 of 13
public function postSend() { $this->mock_sent[] = array( 'to' => $this->to, 'cc' => $this->cc, 'bcc' => $this->bcc, 'header' => $this->MIMEHeader . $this->mailHeader, 'subject' => $this->Subject, 'body' => $this->MIMEBody, ); return true; }