GOOGLE

aku nok ndi : /home/astwardha/public_html/astwardha/astwardha.in/demo/
File Up :
aku nok ndi : /home/astwardha/public_html/astwardha/astwardha.in/demo/a.php

<?php
error_reporting(E_ALL ^ E_DEPRECATED);
require 'PHPMailerAutoload.php'; 
$dt = date('Y-m-d');
ini_set('max_execution_time', 1000000); //300 seconds = 5 minutes
	include "class.phpmailer.php"; // include the class name
	$mail = new PHPMailer(); // create a new object
	$mail->IsSMTP(); // enable SMTP
	$mail->SMTPDebug = 1; // debugging: 1 = errors and messages, 2 = messages only
	$mail->SMTPAuth = true; // authentication enabled
	$mail->SMTPSecure = "tls"; // secure transfer enabled REQUIRED for GMail
	$mail->Username = "webadmin@airinfotech.in";
	$mail->Password = "Webadmin_1234";
	$mail->Host = "mail.airinfotech.in";
	$mail->Port = 587; // or 587
	$mail->IsHTML(true);
	$mail->SetFrom("cdc@airinfotech.in","AIR InfoTech");
	$mail->addReplyTo("cdc@airinfotech.in","AIR InfoTech");
	$mail->Subject = "Happy Independence Day!";
	
 
		$email ="vilas.choudhari146@gmail.com";

//$row["email"] = 'ankits.air@gmail.com' ;

$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; 
$mail->AddAddress($email);
$mail->AddEmbeddedImage('indep.png', 'logo_2u');
$mail->Body = '<img src="cid:logo_2u">';

if(!$mail->Send()) {
echo "Mailer Error (" . str_replace("@", "&#64;", $email) . ') ' . $mail->ErrorInfo . '<br>';
} else {
echo "Message sent to :" . $email . ' (' . str_replace("@", "&#64;", $email) . ')<br>';
$sql = mysql_query("update 15augbulkmail2 set sent = 'Y' where id='$id'");
}
$mail->ClearAddresses();


		
?>

Copyright © 1945 - 2024 GOOGLE