title: How add image in html email template using windows application
body: <p><strong>I am creating windows app in which i will be sending emailtemplate.htm file.</strong></p>
  
  <p><strong>I want to know how can we load image in html template.</strong></p>
  
  <blockquote>
    <p>I have tried</p>
  </blockquote>
  
  <ol>
  <li>Tried to add image using img src doesnt work.</li>
  </ol>
  
  <p><strong>TestEmail.html :</strong></p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Welcome to GrassDew&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div style="border-top:3px solid #22BCE5"&gt;&amp;nbsp;&lt;/div&gt;
      &lt;span style="font-family:Arial;font-size:10pt"&gt;
          A new article has been published .&lt;br /&gt;&lt;br /&gt;
          &lt;a style="color:#22BCE5" href="https://www.google.com/"&gt;NEw Article&lt;/a&gt;&lt;br /&gt;
          &lt;br /&gt;&lt;br /&gt;
      &lt;/span&gt;
      Thanks,&lt;br /&gt;
      Team&lt;br /&gt;
      &lt;img src="../images/signature.png" /&gt;&lt;br /&gt;&lt;br /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <blockquote>
    <p>CS code :</p>
  </blockquote>
  
  <pre><code>        string strBody = string.Empty;
          Assembly assembly = Assembly.GetExecutingAssembly();
          string assemblyName = assembly.GetName().Name;
          string emailTemplateName = "TestEmail.htm";
          emailTemplateName = assemblyName + "." + emailTemplateName;
          //StreamReader reader = new StreamReader(assembly.GetManifestResourceStream("oMail.Win.TestEmail.htm"));
          using (StreamReader reader = new StreamReader(assembly.GetManifestResourceStream(emailTemplateName)))
          {
              strBody = reader.ReadToEnd();
          }
          strMsg.Body += "&lt;span style = font-family:Calibri;font-size:14pt&gt;Dear " + customrname + "&lt;/span&gt;&lt;br/&gt;" + strBody;
          strMsg.BodyEncoding = System.Text.Encoding.GetEncoding("utf-8");
          System.Net.NetworkCredential smtpCredential = new System.Net.NetworkCredential(strSMTPServerHostUserName, strSMTPServerHostPassword, strSMTPServerDomain);
          SmtpClient smtpClient = new SmtpClient(strSMTPServerHost, Convert.ToInt32(strSMTPServerPort));
          smtpClient.Credentials = smtpCredential;
          smtpClient.Send(strMsg);
          bEmailSentSuccessful = true;
  </code></pre>