title: how to pass multiple variable to html template Using PhpMailer?
body: <p>I want to pass multiple variable to Mail template page and echo to that page using phpmailer library.</p>
  
  <p>I have two variables to pass welcome.php page and echo there.</p>
  
  <pre><code>$name = 'example';
  $email = 'example@mail.com';
  </code></pre>
  
  <p>I have use this code</p>
  
  <pre><code> $mail-&gt;MsgHTML(str_replace('[emailhere]', $email, file_get_contents('welcome.php')), dirname(__FILE__));
  </code></pre>