X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/wp-mail-smtp/src
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
wp-mail-smtp
/
src
/
ðŸ“
..
📄
AbstractConnection.php
(1.09 KB)
ðŸ“
Admin
ðŸ“
Compatibility
📄
Conflicts.php
(15.01 KB)
📄
Connect.php
(9.18 KB)
📄
Connection.php
(964 B)
📄
ConnectionInterface.php
(1.01 KB)
📄
ConnectionsManager.php
(765 B)
📄
Core.php
(33.45 KB)
📄
DBRepair.php
(6.29 KB)
📄
Debug.php
(3.5 KB)
📄
Geo.php
(6.76 KB)
ðŸ“
Helpers
📄
MailCatcher.php
(1.63 KB)
📄
MailCatcherInterface.php
(1.16 KB)
📄
MailCatcherTrait.php
(13.43 KB)
📄
MailCatcherV6.php
(1.47 KB)
📄
Migration.php
(12.11 KB)
📄
MigrationAbstract.php
(3.21 KB)
📄
Migrations.php
(3.59 KB)
📄
OptimizedEmailSending.php
(1.17 KB)
📄
Options.php
(46.44 KB)
📄
Processor.php
(14.06 KB)
ðŸ“
Providers
ðŸ“
Queue
ðŸ“
Reports
📄
SiteHealth.php
(12.63 KB)
ðŸ“
Tasks
📄
Upgrade.php
(1.55 KB)
📄
Uploads.php
(5.44 KB)
ðŸ“
UsageTracking
📄
WP.php
(20.08 KB)
📄
WPMailArgs.php
(4.44 KB)
📄
WPMailInitiator.php
(4.38 KB)
Editing: MailCatcher.php
<?php namespace WPMailSMTP; use phpmailerException; // Load PHPMailer class, so we can subclass it. if ( ! class_exists( 'PHPMailer', false ) ) { require_once ABSPATH . WPINC . '/class-phpmailer.php'; } /** * Class MailCatcher replaces the \PHPMailer and modifies the email sending logic. * Thus, we can use other mailers API to do what we need, or stop emails completely. * * @since 1.0.0 */ class MailCatcher extends \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 1.3.0 * * @var string */ public $action_function = '\WPMailSMTP\Processor::send_callback'; /** * Returns all custom headers. * In older versions of \PHPMailer class this method didn't exist. * As we support WordPress 3.6+ - we need to make sure this method is always present. * * @since 1.5.0 * * @return array */ public function getCustomHeaders() { return $this->CustomHeader; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } /** * Get the PHPMailer line ending. * * @since 2.2.0 * * @return string */ public function get_line_ending() { return $this->LE; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } /** * Throw PHPMailer exception. * * @since 4.0.0 * * @param string $error Error message. * * @throws phpmailerException PHPMailer exception. */ protected function throw_exception( $error ) { throw new phpmailerException( $error ); } }
Upload File
Create Folder