SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php81 > root > usr > > share > > pear > test > Net_SMTP > > tests


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php81/root/usr//share//pear/test/Net_SMTP//tests

NameTypeSizeLast ModifiedActions
auth.phpt File 545 bytes December 02 2021 08:42:45.
basic.phpt File 942 bytes December 02 2021 08:42:45.
config.php.dist File 488 bytes December 02 2021 08:42:45.
quotedata.phpt File 1941 bytes December 02 2021 08:42:45.

Reading File: //opt/cloudlinux/alt-php81/root/usr//share//pear/test/Net_SMTP//tests/auth.phpt

--TEST--
Net_SMTP: SMTP Authentication
--SKIPIF--
<?php if (!@include('config.php')) die("skip\n");
--FILE--
<?php

require_once 'Net/SMTP.php';
require_once 'config.php';

if (! ($smtp = new Net_SMTP(TEST_HOSTNAME, TEST_PORT, TEST_LOCALHOST))) {
	die("Unable to instantiate Net_SMTP object\n");
}

if (PEAR::isError($e = $smtp->connect())) {
	die($e->getMessage() . "\n");
}

if (PEAR::isError($e = $smtp->auth(TEST_AUTH_USER, TEST_AUTH_PASS))) {
	die("Authentication failure\n");
}

$smtp->disconnect();

echo 'Success!';

--EXPECT--
Success!

SILENT KILLER Tool