title: how to send email to (-pauline@vista.com.my-) and (-$email-)?
body: <pre><code>&lt;?php
  
  
  $full_name= $_GET["full_name"];
  $email= $_GET["email"];
  $telephone= $_GET["telephone"];
  $option1= $_GET["option1"];
  $option2= $_GET["option2"];
  $message= $_GET["message"];
  
  
  
  
  
  require_once('class.phpmailer.php');
  
  $mail             = new PHPMailer(); // defaults to using php "mail()"
  
  
  $mail-&gt;AddReplyTo("pauline@vista.com.my","Vista");
  
  $mail-&gt;SetFrom('pauline@vista.com.my', 'Vista');
  
  $mail-&gt;AddReplyTo("pauline@vista.com.my","Vista");
  
  $address = "pauline@vista.com.my";
  $mail-&gt;AddAddress($address, "Vista");
  
  $mail-&gt;Subject    = "Vista";
  
  $mail-&gt;AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
  
  $mail-&gt;Body = "VISTA Eye Specialist Form &lt;br&gt;&lt;br&gt; 
  Name : $full_name&lt;br&gt;
  Email : $email&lt;br&gt; 
  Contact :   $telephone&lt;br&gt; 
  Branches :  $option1&lt;br&gt; 
  Services : $option2&lt;br&gt; 
  Comments : $message&lt;br&gt; 
  
  Thank You!&lt;br&gt;
  
  
  ";
  
  
  if(!$mail-&gt;Send()) {
    echo "Mailer Error: " . $mail-&gt;ErrorInfo;
  } else {
    echo "Please Wait...!&lt;br&gt;
    Name : $full_name&lt;br&gt;
  Email : $email&lt;br&gt; 
  Contact :   $telephone&lt;br&gt; 
  Branches :  $option1&lt;br&gt; 
  Services : $option2&lt;br&gt; 
  Comments : $message&lt;br&gt; 
  
  Thank You!&lt;br&gt;
  
    ";
  }
  
  ?&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;script&gt;
  &lt;!--
  timeout = '4000'; // milliseconds/1000th of a sec
  window.onload = setTimeout(myRedirect, timeout); // ensure we load the whole page
  
  function myRedirect() {
  
  window.location = "index.php";
  }
  //--&gt;
  &lt;/script&gt; 
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>