ok

Mini Shell

Direktori : /home/u732469475/domains/balajigrills.com/public_html/
Upload File :
Current File : /home/u732469475/domains/balajigrills.com/public_html/mail.php

<?php

require 'PHPMailer/PHPMailerAutoload.php'; 

$mail = new PHPMailer();
$mail->isSMTP();
$mail->SMTPDebug = 0;
$mail->Debugoutput = 'html';
$mail->Host = "mail.balajigrills.com";
$mail->Port = 587;
$mail->SMTPAuth = true;
$mail->Username = "test@balajigrills.com";
$mail->Password = "dexus@8509";
$mail->IsHTML(true);
$mail->setFrom('test@balajigrills.com', 'balajigrills.com');
 

$mail->addAddress('shreebalajialugrills@gmail.com');

$mail->Subject = 'Contact with balajigrills';
$mail->Body ="
		<html>
		<head>
		<title> Contact balajigrills</title>
		</head>
		<body>
		
		<table width='600' height='124' border='1' cellpadding='0' cellspacing='0' bgcolor='#FFFFCC'>
			<tr>
				<td>Name :</td><td>".$_POST['your-name']."</td>
			</tr>
		
			
			<tr>
				<td>Contact :</td><td>".$_POST['your-mobile']."</td>
			</tr>
			<tr>
				<td>Email:</td><td>".$_POST['your-email']."</td>
			</tr>
			
			
			<tr>
				<td>Message :</td><td>".$_POST['your-message']."</td>
			</tr>			
			
			<tr>
				<td>From IP Address : </td><td>".$_SERVER['REMOTE_ADDR']."</td>
			</tr>
		</table>
		</body>
		</html>
		";
$mail->send();

		      
       
        
        print_r(error_get_last());
echo "<script>window.location='contactus.php'</script>";

        ?> 

Zerion Mini Shell 1.0