<?php namespace MailPoet\Mailer\WordPress; if (!defined('ABSPATH')) exit; use MailPoet\Mailer\Mailer; class FallbackMailer extends Mailer { const FALLBACK_METHOD = self::METHOD_PHPMAIL; public function init($mailer = false, $sender = false, $replyTo = false, $returnPath = false) { // init is called lazily from when sending, we need to set correct sending method parent::init(['method' => self::FALLBACK_METHOD], $sender, $replyTo, $returnPath); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
FallbackMailer.php | File | 471 B | 0644 |
|
PHPMailerLoader.php | File | 1012 B | 0644 |
|
WordPressMailer.php | File | 4 KB | 0644 |
|
WordpressMailerReplacer.php | File | 1.49 KB | 0644 |
|
index.php | File | 0 B | 0644 |
|