Server IP : 172.67.216.182 / Your IP : 172.70.147.145 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/coircraft.com/wp-content/plugins/wp-mail-smtp/src/ |
Upload File : |
<?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 } }