PK

ADDRLIN : /home/questend/public_html/domains/rwa40.com/PHPMailer/
FLL :
Current File : /home/questend/public_html/domains/rwa40.com/PHPMailer/absay.php

<?php
date_default_timezone_set('Asia/Calcutta');
require 'PHPMailerAutoload.php';
$Name = "NP";
$Username = "indusinfotek.vinay@gmail.com";
$Password = "awdz2005";
gMail($Username,$Password,$Name);
function gMail($Username,$Password,$Name)
{
    $mail = new PHPMailer;
    $mail->SMTPDebug = 0;               // Enable verbose debug output
    $mail->isSMTP();                    // Set mailer to use SMTP
    $mail->Host = 'smtp.gmail.com';    // Specify main and backup SMTP servers
    $mail->SMTPAuth = true;             // Enable SMTP authentication
    $mail->Username = $Username;        // SMTP username
    $mail->Password = $Password;        // SMTP password
    $mail->SMTPSecure = 'tls';          // Enable TLS encryption, `ssl` also accepted
    $mail->Port = 25;                    // TCP port to connect to 25,465,587;

    $mail->setFrom($Username, $Name); 
    $mail->addAddress($Username, 'USD'.$Name);    
    $mail->isHTML(true);                        // Set email format to HTML

    $mail->Subject = 'Here is the subject';
    $mail->Body = 'This is the HTML message body <b>in bold!</b>';
    $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';

    if (!$mail->send()) {
        echo 'Message could not be sent.';
        echo 'Mailer Error: ' . $mail->ErrorInfo;
    } else {
        echo 'Message has been sent';
    }
}


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

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

← Back to Home