title: URL Link not clickable when a Php variable is passed onto it in phpmailer
body: <p>Am trying to pass certain php variable as part of a clickable link  to be send via PhpMailer. To this effect, I referenced a solution here but still cannot get it to work
  <a href="https://stackoverflow.com/questions/37151519/how-to-create-a-url-link-and-send-it-to-email-using-php-mailer">source</a></p>
  <pre><code>$site = 'http://example.com';
  $user_id = 100;
  
  $msg=&quot;Please Click links below.&lt;br&gt; &lt;br&gt;
  &lt;a  href='$site/link1.php?id=$user_id'&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;br&gt;
  &lt;a  href='$site/link2.php'&gt;Link 2&lt;/a&gt;&quot;;         
  
  $msg_body = &quot;Here is your $msg&quot;;
  </code></pre>
  <p><strong>Here is my issue:</strong> When I run the Code, the Email get sent successfully but both <strong>link1 and link 2</strong> are not clickable.</p>
  <p>here is the code below</p>
  <pre><code>use PHPMailer\PHPMailer\PHPMailer;
  use PHPMailer\PHPMailer\Exception;
  
  
  
  // Load Composer's autoloader
  require 'vendor/autoload.php';
  
  // Instantiation and passing `true` enables exceptions
  $mail = new PHPMailer(true);
  
  $site = 'http://example.com';
  $user_id = 100;
  
  
  $msg=&quot;Please Click links below.&lt;br&gt; &lt;br&gt;
  &lt;a  href='$site/link1.php?id=$user_id'&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;br&gt;
  &lt;a  href='$site/link2.php'&gt;Link 2&lt;/a&gt;&quot;;         
  
  $msg_body = &quot;Here is your $msg&quot;;
  
  
  
      //PHP Mailer Server settings goes here
  
  
  
      $mail-&gt;setFrom('henry@mysite.com', &quot;Henry Good&quot;);
        $mail-&gt;addAddress($reciever@gmail.com, 'Ann Ball);     // Add a recipient
      $mail-&gt;isHTML(true); // Set email format to HTML
      $mail-&gt;Subject = 'My Email Subject';
      $mail-&gt;Body = $msg_body;
      $mail-&gt;AltBody = $msg_body; // for Plain text for non-HTML mails
     $sent =  $mail-&gt;send();
   
  </code></pre>