header file to send html mail via c sharp.net
<p>i have a code like this.</p>

<p>using System.Web.Mail;</p>

<pre><code>        MailMessage myMail = new MailMessage();
        myMail.From = "anitha.anba@gmail.com";
        myMail.To = "ani2devi@yahoo.co.in";
        myMail.Body = "&lt;html&gt;&lt;body&gt;success&lt;/body&gt;&lt;/html&gt;";
        myMail.Subject = "checkmail";
        SmtpMail.SmtpServer = "mymailserver";
        SmtpMail.Send(myMail);
</code></pre>

<p>Error is displayed in SmtpMail. Is it require any header file?. If so, can anyone list them please. </p>
