OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress_backup
/
vendor
/
phpmailer
/
phpmailer
/
test
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
DebugLogTestListener.php
1.07 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
Fixtures
-
01/06/2025 08:36:30 AM
rwxr-xr-x
📁
Language
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📁
OAuth
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📁
PHPMailer
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📁
POP3
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
PreSendTestCase.php
1.41 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
Security
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
SendTestCase.php
4.34 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
TestCase.php
12.41 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
fakefunctions.php
243 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
fakepopserver.sh
3.09 KB
01/06/2025 08:13:08 AM
rw-r--r--
📄
fakesendmail.sh
518 bytes
01/06/2025 08:13:08 AM
rw-r--r--
📄
runfakepopserver.sh
392 bytes
01/06/2025 08:13:08 AM
rw-r--r--
📄
testbootstrap-dist.php
248 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
validators.php
181 bytes
05/19/2025 10:07:17 AM
rw-r--r--
Editing: PreSendTestCase.php
Close
<?php /** * PHPMailer - Base test class. * PHP version 5.5. * * @author Marcus Bointon <phpmailer@synchromedia.co.uk> * @author Andy Prevost * @copyright 2012 - 2020 Marcus Bointon * @copyright 2004 - 2009 Andy Prevost * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ namespace PHPMailer\Test; use PHPMailer\PHPMailer\SMTP; use PHPMailer\Test\TestCase; /** * PHPMailer - Test class for tests which need the `PHPMailer::preSend()` method to be called. */ abstract class PreSendTestCase extends TestCase { /** * Property names and their values for the test instance of the PHPMailer class. * * These properties will be set in the `set_up()` method. * * This property can be enhanced/overloaded in concrete test classes to change the presets * or add additional properties. * * @var array */ protected $propertyChanges = [ // Generic changes. 'SMTPDebug' => SMTP::DEBUG_CONNECTION, // Full debug output. 'Debugoutput' => ['PHPMailer\Test\DebugLogTestListener', 'debugLog'], // Minimal set of properties which are needed for the preSend() command to succeed. 'From' => 'unit_test@phpmailer.example.com', 'to' => [ 'address' => 'somebody@example.com', 'name' => 'Test User', ], ]; }