<?php

ob_start();

session_start();

if(isset($_REQUEST['act']))

{





$name=$_REQUEST['name'];

$address=$_REQUEST['address'];

$phone=$_REQUEST['phone'];

$email=$_REQUEST['email'];

$message=$_REQUEST['message'];

    

$to="ashwanisingh1992@gmail.com,rajarani112@gmail.com";

		$subjet="Welcome in Art of Pottery";

		$message="<html>

		<head>

		<title>Art of Pottery</title>

		</head>

<body>

		<p></p>

<table width='100%' cellpadding='2' cellspacing='4' border='0' style='border:1px dashed #009966;'>

  <tr><td><img src='http://artofpottery.net/images/logo.jpg' /></td>

  </tr>

  <tr>

  <td style='font-family: Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; padding-bottom:10px;'>Hi, $name</td></tr>

		

		

		

  <tr>

  <td style='font-family: Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; padding-bottom:10px;'>User Detail</td></tr>

  

  

  <tr><td style='font-family:Arial, Helvetica, sans-serif; font-size:13px;'><strong>Name</strong> :- $name</td></tr>

  

  

  

   <tr><td style='font-family:Arial, Helvetica, sans-serif; font-size:13px;'><strong>Phone No</strong> :- $phone</td></tr>

   

   

  <tr>

  <td style='font-family:Arial, Helvetica, sans-serif; font-size:13px;'><strong>E-mail 

                      Address</strong> :- $email</td></tr>

					  

					  

					  

  <tr><td style='font-family:Arial, Helvetica, sans-serif; font-size:13px;'><strong>Message</strong> :- $message</td></tr>				  

  

  

  

		

		

  <tr><td style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:13px; font-weight:bold;'>Team</td></tr>

  

  </tr>

  <tr>

	<td style='font-family:Arial, Helvetica, sans-serif; font-size:12px;'>Art of Pottery</td>

  </tr>

</table>

</body>

		</html>";

		$from="noreply@artofpottery.net/";

$headers = "From: www.artofpottery.net/ Query Form <$from>\n";

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

$headers .= "Return-Path: <$admin_mail>\n";

$headers .= "Content-Type: text/html;\n";

$headers .= "X-Mailer: PHP/" . phpversion();

		

		

		

		// Additional headers

		

		// Mail it

mail($to,$subjet,$message,$headers);



}

header("location:welcome.html");

?>

