title: Send HTML email via C# with SmtpClient
body: <p>How do I send an HTML email? I use the code in <a href="https://stackoverflow.com/questions/704636/sending-email-through-gmail-smtp-server-with-c/707892#707892">this answer</a> to send emails with <code>SmtpClient</code>, but they're always plain text, so the link in the example message below is not formatted as such.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;p&gt;Welcome to SiteName. To activate your account, visit this URL: 
      &lt;a href=&quot;http://SiteName.com/a?key=1234&quot;&gt;http://SiteName.com/a?key=1234&lt;/a&gt;.
  &lt;/p&gt;
  </code></pre>
  <p>How do I enable HTML in the e-mail messages I send?</p>