title: sending mail with link and parameter in PHP
body: <p>I have a strange issue with sending a mail with php, here is my code:</p>
  
  <pre><code>$link = "http://www.somelink/verify.php?id=".$uniqID;
  
  $message ="&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Full Name:".$data[0]." ".$data[1]."&lt;/p&gt;";
  $message .="&lt;p&gt;Flight Number: ".$data[4]."&lt;/p&gt;";
  $message .="&lt;p&gt;The Ride: ".$curPlace." to ".$data[5]."&lt;/p&gt;";
  $message .="&lt;p&gt;Number of Passengers: ".$data[3]."&lt;/p&gt;";
  $message .="&lt;p&gt;Date:".$data[6]." time:".$data[7]."&lt;/p&gt;";
  $message .="&lt;p&gt;The price: ".$data[8]."&lt;/p&gt;";
  $message .="&lt;p&gt;To verify the reservation press this &lt;a href=".$link."&gt;link&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;";
  
  $headers = 'From: my@email.com' . "\r\n" .'Reply-To: some@email.com';
  $headers  = 'MIME-Version: 1.0' . "\r\n";
  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  $headers .= "Sensitivity: Personal"."\r\n";
  $sent=mail($data[2],"Taxi Reservation",$message, $headers);
  if($sent){
      echo "Message was sent to ".$data[2];
  }
  else{
      echo "Message was not sent";
  }
  </code></pre>
  
  <p>The problem is with Gmail.If I send it as is, I get the success message, but get nothing in my gmail, but do get in another not gmail account.
  BUT!
  If I delete a tag from this line:
  <code>$message .="&lt;p&gt;To verify the reservation press this &lt;a href=".$link."&gt;link&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;";</code>
  I do get the message in Gmail.So I can't understand what's the problem.
  What can couse this problem?
  Thank you for your help.</p>