Hackfut Security File Manager
Current Path:
/home/haielekt/pasangac.com/wp-content/plugins/wp-mail-smtp/src
home
/
haielekt
/
pasangac.com
/
wp-content
/
plugins
/
wp-mail-smtp
/
src
/
📁
..
📄
AbstractConnection.php
(1.09 KB)
📁
Admin
📁
Compatibility
📄
Conflicts.php
(14.42 KB)
📄
Connect.php
(8.73 KB)
📄
Connection.php
(964 B)
📄
ConnectionInterface.php
(1.01 KB)
📄
ConnectionsManager.php
(765 B)
📄
Core.php
(33.3 KB)
📄
DBRepair.php
(5.64 KB)
📄
Debug.php
(3.5 KB)
📄
Geo.php
(5.39 KB)
📁
Helpers
📄
MailCatcher.php
(1.36 KB)
📄
MailCatcherInterface.php
(1.16 KB)
📄
MailCatcherTrait.php
(9.36 KB)
📄
MailCatcherV6.php
(1.21 KB)
📄
Migration.php
(12.11 KB)
📄
MigrationAbstract.php
(3.21 KB)
📄
Options.php
(40.08 KB)
📄
Processor.php
(11.21 KB)
📁
Providers
📁
Reports
📄
SiteHealth.php
(12.63 KB)
📁
Tasks
📄
Upgrade.php
(1.16 KB)
📄
Uploads.php
(4.63 KB)
📁
UsageTracking
📄
WP.php
(18.81 KB)
📄
WPMailInitiator.php
(4.02 KB)
Editing: MailCatcherV6.php
<?php namespace WPMailSMTP; /** * 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.2.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.2.0 * * @var string */ public $action_function = '\WPMailSMTP\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 3.6.0 * * @var string|callable */ public static $validator = [ Processor::class, 'is_email_callback' ]; /** * Get the PHPMailer line ending. * * @since 2.2.0 * * @return string */ public function get_line_ending() { return static::$LE; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase } }
Upload File
Create Folder