PK

ADDRLIN : /home/questend/public_html/subdomain/trufflenation.questend.com/
FLL :
Current File : /home/questend/public_html/subdomain/trufflenation.questend.com/testmail.php

<?php
    use PHPMailer\PHPMailer\PHPMailer;
    use PHPMailer\PHPMailer\SMTP;
    use PHPMailer\PHPMailer\Exception;

    require 'PHPMailer/src/PHPMailer.php';
    require 'PHPMailer/src/SMTP.php';
    require 'PHPMailer/src/Exception.php';

    $mail = new PHPMailer(true);

    try {
        //Server settings
        $mail->isSMTP();
        $mail->Host = 'smtp.office365.com';
        $mail->SMTPAuth = true;
        $mail->Username = 'info@lendingcon.com';    // Your Office 365 email address
        $mail->Password = 'Harekrishna4392!';       // Your Office 365 password
        $mail->SMTPSecure = 'tls';
        $mail->Port = 587;

        //Recipients
        $mail->setFrom('info@lendingcon.com', 'LendingCon'); // Your email and name
        $mail->addAddress('indusinfotek.vinay@gmail.com', 'Vinay'); // Recipient's email and name

        //Content
        $mail->isHTML(true);
        $mail->Subject = 'Test Email';
        $mail->Body    = 'This is a test email sent from PHPMailer using Office 365 SMTP.';

        $mail->send();
        echo 'Message has been sent';
    } catch (Exception $e) {
        echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
    }

?>


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home