Modification to mail() to include a variable in the message
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4897215/php-mail-how-to-send-html">Php mail: how to send html?</a>  </p>
</blockquote>



<p>I want to use the Mail() function in PHP but I am having some difficulties to include a link and a variable in the messagge.</p>

<pre><code>$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
</code></pre>

<p>How can I send the message below?</p>

<pre><code>Please click &lt;a href="http://domain.com/verify.php?token=$token"&gt;here&lt;/a&gt; to veify.
</code></pre>
