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/home/PHPMailer/examples/

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

 
Command :
Current File : /home/dpmptsp/public_html/home/PHPMailer/examples/exceptions.phps
<?php
/**
 * This example shows how to make use of PHPMailer's exceptions for error handling.
 */

require '../PHPMailerAutoload.php';

//Create a new PHPMailer instance
//Passing true to the constructor enables the use of exceptions for error handling
$mail = new PHPMailer(true);
try {
    //Set who the message is to be sent from
    $mail->setFrom('from@example.com', 'First Last');
    //Set an alternative reply-to address
    $mail->addReplyTo('replyto@example.com', 'First Last');
    //Set who the message is to be sent to
    $mail->addAddress('whoto@example.com', 'John Doe');
    //Set the subject line
    $mail->Subject = 'PHPMailer Exceptions test';
    //Read an HTML message body from an external file, convert referenced images to embedded,
    //and convert the HTML into a basic plain-text alternative body
    $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
    //Replace the plain text body with one created manually
    $mail->AltBody = 'This is a plain-text message body';
    //Attach an image file
    $mail->addAttachment('images/phpmailer_mini.png');
    //send the message
    //Note that we don't need check the response from this because it will throw an exception if it has trouble
    $mail->send();
    echo "Message sent!";
} catch (phpmailerException $e) {
    echo $e->errorMessage(); //Pretty error messages from PHPMailer
} catch (Exception $e) {
    echo $e->getMessage(); //Boring error messages from anything else!
}
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 21 2023 09:40:06
1000 / 1000
0755
images
--
December 21 2023 09:40:02
1000 / 1000
0755
scripts
--
December 21 2023 09:40:03
1000 / 1000
0755
styles
--
December 21 2023 09:40:05
1000 / 1000
0755
DKIM.phps
1.305 KB
January 13 2024 08:41:32
1000 / 1000
0755
code_generator.phps
26.819 KB
January 13 2024 08:41:31
1000 / 1000
0755
contactform.phps
2.403 KB
January 13 2024 08:41:31
1000 / 1000
0755
contents.html
0.63 KB
January 13 2024 08:41:32
1000 / 1000
0755
contentsutf8.html
0.887 KB
January 13 2024 08:41:32
1000 / 1000
0755
exceptions.phps
1.447 KB
January 13 2024 08:41:32
1000 / 1000
0755
gmail.phps
2.114 KB
January 13 2024 08:41:32
1000 / 1000
0755
gmail_xoauth.phps
2.614 KB
January 13 2024 08:41:32
1000 / 1000
0755
index.html
6.142 KB
January 13 2024 08:41:32
1000 / 1000
0755
mail.phps
1.038 KB
January 13 2024 08:41:32
1000 / 1000
0755
mailing_list.phps
2.243 KB
January 13 2024 08:41:32
1000 / 1000
0755
pop_before_smtp.phps
2.145 KB
January 13 2024 08:41:32
1000 / 1000
0755
send_file_upload.phps
1.644 KB
January 13 2024 08:41:32
1000 / 1000
0755
send_multiple_file_upload.phps
1.566 KB
January 13 2024 08:41:32
1000 / 1000
0755
sendmail.phps
1.108 KB
January 13 2024 08:41:32
1000 / 1000
0755
signed-mail.phps
4.104 KB
January 13 2024 08:41:33
1000 / 1000
0755
smtp.phps
1.831 KB
January 13 2024 08:41:33
1000 / 1000
0755
smtp_check.phps
1.894 KB
January 13 2024 08:41:33
1000 / 1000
0755
smtp_no_auth.phps
1.702 KB
January 13 2024 08:41:33
1000 / 1000
0755
ssl_options.phps
2.027 KB
January 13 2024 08:41:33
1000 / 1000
0755