PATH:
home
/
lab2454c
/
incforce.com
/
wp-content
/
plugins
/
easy-wp-smtp
/
src
<?php namespace EasyWPSMTP; /** * Class MailCatcher replaces the \PHPMailer\PHPMailer\PHPMailer introduced in WP 5.5 and * modifies the email sending logic. Thus, we can use other mailers API to do what we need, or stop emails completely. * * @since 2.0.0 */ class MailCatcherV6 extends \PHPMailer\PHPMailer\PHPMailer implements MailCatcherInterface { use MailCatcherTrait; /** * Callback Action function name. * * The function that handles the result of the send email action. * It is called out by send() for each email sent. * * @since 2.0.0 * * @var string */ public $action_function = '\EasyWPSMTP\Processor::send_callback'; /** * Which validator to use by default when validating email addresses. * We are using built-in WordPress function `is_email` to validate the email address. * * @see PHPMailer::validateAddress() * * @since 2.0.0 * * @var string|callable */ public static $validator = [ Processor::class, 'is_email_callback' ]; /** * Get the PHPMailer line ending. * * @since 2.0.0 * * @return string */ public function get_line_ending() { return static::$LE; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } }
[-] SiteHealth.php
[edit]
[-] Conflicts.php
[edit]
[-] ConnectionInterface.php
[edit]
[+]
..
[-] MailCatcher.php
[edit]
[-] WP.php
[edit]
[-] Geo.php
[edit]
[+]
Migrations
[-] MailCatcherTrait.php
[edit]
[-] Connect.php
[edit]
[-] ConnectionsManager.php
[edit]
[-] WPMailInitiator.php
[edit]
[+]
Tasks
[-] MailCatcherInterface.php
[edit]
[-] Debug.php
[edit]
[-] Processor.php
[edit]
[+]
Helpers
[-] Connection.php
[edit]
[+]
Admin
[-] Uploads.php
[edit]
[-] AbstractConnection.php
[edit]
[+]
Providers
[-] Core.php
[edit]
[-] MailCatcherV6.php
[edit]
[+]
Compatibility
[+]
Reports
[-] Options.php
[edit]
[+]
UsageTracking
[-] DBRepair.php
[edit]