%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/www/pay/make-payment/
Upload File :
Create Path :
Current File : //home/eirtvhdf/www/pay/make-payment/email.php

<?php
require("phpmailer/class.phpmailer.php");

$mail = new PHPMailer;


//Enable SMTP debugging.
$mail->SMTPDebug = 3;
//Set PHPMailer to use SMTP.
$mail->isSMTP();
//Set SMTP host name
$mail->Host = "mail.eirlogo.com";
//Set this to true if SMTP host requires authentication to send email
$mail->SMTPAuth = true;
//Provide username and password
$mail->Username = "azim@eirlogo.com";
$mail->Password = "Axact!23456";
//If SMTP requires TLS encryption then set it
$mail->SMTPSecure = "tls";
//Set TCP port to connect to
$mail->Port = 465;

$mail->From = "azim@eirlogo.com";
$mail->FromName = "Full Name to be type";

$mail->addAddress("akhan_24@hotmail.com", "Azim K");

$mail->isHTML(true);

$mail->Subject = "Subject Text";
$mail->Body = "<i>Mail body in HTML</i>";
$mail->AltBody = "This is the plain text version of the email content";


if(!$mail->send())
{
    echo "Mailer Error: " . $mail->ErrorInfo;
}
else
{
    echo "Message has been sent successfully";
}

Zerion Mini Shell 1.0