title: sent auto reply email form in php
body: <p>this my php code :</p>
  
  <pre><code>&lt;?php
  $to = 'makingmoney497@gmail.com';
  $subject = 'New EMail From Your web site:MakeMoneyCorner.com';
  $name = $_POST['name'];
  $email = $_POST['email'];
  $message = &lt;&lt;&lt;EMAIL
  
  from $name
  his email is:$email
  EMAIL;
  
  $header = '$email';
  
  if($_POST){
     mail($to, $subject, $message, $header, $feedback)
     $feedback = 'your information has been successfully Send it';
  
  }
  
  if ($mail-&gt;send()){ 
   $autoemail = new PHPMailer(); 
   $autoemail-&gt;From = "makingmoney497@gmail.com"; 
   $autoemail-&gt;FromName = "makingmoneycorner.com"; 
   $autoemail-&gt;AddAddress($mail-&gt;From, $mail-&gt;FromName); 
   $autoemail-&gt;Subject = "This Is Your Book About Making Money"; 
   $autoemail-&gt;Body = "you can download here :";
   $autoemail-&gt;Send(); 
   }  
  
   ?&gt;
  </code></pre>
  
  <p>** // the form work great, i can recieve emails that visitors are sending, but the reply doesn't work
  why  ?</p>
  
  <p>img of the problem :<a href="http://www.gulfup.com/?e4Nb5X" rel="nofollow">http://www.gulfup.com/?e4Nb5X</a></p>