title: How to embed html file in dll and edit the content later?
body: <p>I don't have enough idea on how to work with this.  </p>
  
  <p>Objective:<br>
  1) Embed HTML file in dll  </p>
  
  <ul>
  <li><p>Content of the html would be:  </p>
  
  <h2>Good Day!</h2>
  
  <p>
  You received this email because a request was made for password retrieval with this email address.
  Please go to the link below to start the process:
  </p>
  
  <p>
  Click the link below <br />
  BaseUrl{}
  </p>
  
  <p>
  Please ignore this email if you did not make such request.
  </p>
  
  <p>Best,
  Web Master  </p></li>
  </ul>
  
  <p>2) Everytime I have to send this email, I have to find and replace the "<strong>BaseUrl{}</strong>" with a link for verification inside the embeded html.  </p>
  
  <p>3) I have to send the file in a form of html file, beacause in further development, I will have to put images in the file.  </p>
  
  <p>Code for sending email:  </p>
  
  <pre><code>using System.Net.Mail;
  using System.Net;
  using System.Net.Security;
  using System.Security.Cryptography.X509Certificates;
  
  public static void SendEmail(MailMessage mail)
  {
  SmtpClient client = new SmtpClient();
  client.Host = "smtp.gmail.com";
  client.Port = 123;
  client.Credentials = new System.Net.NetworkCredential("username@mail.com", "strongpassword");
  client.EnableSsl = true;
  
  ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(ValidateServerCertificate);
  client.Send(mail);
  
  }  
  
  
  private static bool ValidateServerCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)  
  {
  if (sslPolicyErrors == SslPolicyErrors.None)
      return true;
  else
  {
      ServiceFault.WriteLog("Invalid SSL");
      return true;
  }
  }
  </code></pre>
  
  <p>Or you can give me links for tutorial, or if you have more better suggestion, please let me know.<br>
  Thanks!</p>