Your IP : 216.73.217.20


Current Path : /home/u438053920/domains/allindiacomputereducation.com/public_html/
Upload File :
Current File : /home/u438053920/domains/allindiacomputereducation.com/public_html/mail.php

 <?php  $sendto   = "info@allindiacomputers.com";

  

      

$name  = nl2br($_POST['name']);

$email = nl2br($_POST['email']);

$phone = nl2br($_POST['phone']);

$Subject = nl2br($_POST['message']);
$name  = htmlspecialchars(nl2br($_POST['name']), ENT_QUOTES, 'UTF-8');

$email = htmlspecialchars(nl2br($_POST['email']), ENT_QUOTES, 'UTF-8');

$phone = htmlspecialchars(nl2br($_POST['phone']), ENT_QUOTES, 'UTF-8');

$Subject = htmlspecialchars(nl2br($_POST['message']), ENT_QUOTES, 'UTF-8');





 $subject  = "Contact Form All India Computers" ;

        $headers  = "From: " . strip_tags($email) . "\r\n";

        $headers .= "Reply-To: ". strip_tags($email) . "\r\n";

        $headers .= "MIME-Version: 1.0\r\n";

        $headers .= "Content-Type: text/html;charset=utf-8 \r\n";



        $msg  = "<html><body style='font-family:Arial,sans-serif;'>";

         $msg .= "<div style='border:1px solid grey;'> <img src='http://allindiacomputers.com/images/logof.png' width='200px' style='background-color:skyblue; > <div style='float:right;'><a href='http://facebook.com/redbackstudios'><i class='fa fa-facebook' style='color:red'></i></a> </div>\r\n";

        $msg .= "<div style='width:100%;height:75px;color:white;background-color:#4582ff;text-align:center;padding-top:20px;'><h1>All India Computers</h1></div>\r\n"; 

        $msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>GENERAL ENQUIRIES</h2>\r\n";

      

        $msg .= "<p style='text-transform:capitalize;'><strong> Name :</strong>" . $name . "</p>\r\n";



$msg .= "<p style='text-transform:capitalize;'><strong> Email :</strong>" . $email. "</p>\r\n";

$msg .= "<p style='text-transform:capitalize;'><strong> Mobile No :</strong>" . $phone . "</p>\r\n";
$msg .= "<p style='text-transform:capitalize;'><strong> Message :</strong>" . $Subject . "</p>\r\n";


 $msg .= "</div></div>";

        $msg .= "<div style='background-color:#333;;text-align:center;text-decoration:none;color:black;width:100%; height:50px;padding-top:10px;'>

        <p>&copy; 2022 <a href='http://allindiacomputers.com/' style='text-decoration:none;color:white;'><strong>allindiacomputers</strong> 

         <a href='http://redbackstudios.in' style='text-decoration:none;color:White;'>. Powered By Redback</a></p></div>";

 $msg .= "</body></html>";



        $mails = mail ($sendto,$subject,$msg,$headers);



if($mails == true)

{

    echo ("<script language='javascript'> window.alert('Thanks to be partner with Us'); window.location.href='http://allindiacomputers.com/contact-us.php'; </script>");

}

else

{

    echo "Failed";

} 

       ?>