Please help me figure why this ASP form won't send e-mail .. The code was obtained from a reliable source
<p>OK ... I am a PHP programmer but never worked with ASP. I got this code from the ARVIXE HOSTING company to send ASP email from an HTML contact form , however when I implement it , it won't work . the website link is <a href="http://www.myuniversalcare.com/contact-us/" rel="nofollow">http://www.myuniversalcare.com/contact-us/</a> . Domain name is myuniversalcare.com </p>

<p>Below is the code containing both the script and HTML form , please help .. It will be very appreciated !</p>

<pre><code>&lt;%@ Import Namespace="System.Web" %&gt;
&lt;%@ Import Namespace="ASPEMAILLib" %&gt;
&lt;%@ Import Namespace="System.Reflection" %&gt;


&lt;script runat="server" LANGUAGE="C#"&gt;

void Page_Load(Object Source, EventArgs E)
{
    // Change this to your own SMTP server
    String strHost = "localhost";   

    if( IsPostBack )
    {
        // MailSender object declaration
        ASPEMAILLib.IMailSender objMail;
        objMail = new ASPEMAILLib.MailSender();

        objMail.Host = strHost;

        objMail.From = "info@persits.com";          // From address
        objMail.FromName = "AspEmail Live Demo";    // optional

        String strToAddress = txtTo.Value.Trim();

        if( !Regex.IsMatch( strToAddress, @"(\w[-._\w]*\w@\w[-._\w]*\w\.\w{2,3})" ) )
        {
            txtMsg.InnerHtml = "&lt;font color=red&gt;Invalid email address.&lt;/font&gt;"; 
            return;
        }

        // To address, 2nd argument omitted.
        objMail.AddAddress( txtTo.Value, Missing.Value );       

        // Message subject
        objMail.Subject = objMail.EncodeHeader( txtSubject.Value, "UTF-8" );

        // Enable Unicode
        objMail.ContentTransferEncoding = "Quoted-Printable";
        objMail.CharSet = "UTF-8";

        // Message body
        objMail.Body = txtBody.Value;

        // Include a disclaimer
        objMail.Body += "\r\n\r\n-----------------------------------\r\n\r\nThis message was generated by the AspEmail live demo on-line application. Persits Software, Inc. is not responsible for its content.";

        try
        {
            objMail.Send(Missing.Value);
            txtMsg.InnerHtml = "&lt;font color=green&gt;Success! Message sent to " + txtTo.Value + ".&lt;/font&gt;";
        }
        catch(Exception e)
        {
            txtMsg.InnerHtml = "&lt;font color=red&gt;Error occurred: " + e.Message + "&lt;/font&gt;";
        }
    }
}

&lt;/script&gt;

&lt;HTML&gt;
&lt;HEAD&gt;

&lt;META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8"&gt;

&lt;TITLE&gt;AspEmail Live Demo: Unicode-enabled Message Sending&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY style="font-family: arial narrow; font-size: 10pt"&gt;

&lt;h2&gt;AspEmail Live Demo: Unicode-enabled Message Sending&lt;/h2&gt;

&lt;P&gt; 


&lt;FORM METHOD="POST" RUNAT="Server"&gt;

&lt;TABLE CELLSPACING=2 CELLPADDING=2 BGCOLOR="#E0E0E0" style="border: 1pt black solid; border-collapse: collapse"&gt;
    &lt;TR&gt;
        &lt;TD&gt;To:&lt;/TD&gt;
        &lt;TD&gt;&lt;INPUT TYPE="TEXT" size="40" ID="txtTo" RUNAT="Server"&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
        &lt;TD&gt;Subject:&lt;/TD&gt;
        &lt;TD&gt;&lt;INPUT TYPE="TEXT" size="40" ID="txtSubject" RUNAT="Server"&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
        &lt;TD valign="top"&gt;Body:&lt;/TD&gt;
        &lt;TD&gt;&lt;TEXTAREA ID="txtBody" RUNAT="Server" Rows="10" Cols="40"&gt;&lt;/TEXTAREA&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
        &lt;TD COLSPAN=2&gt;&lt;INPUT TYPE="SUBMIT" NAME="Send" VALUE="Send Message" RUNAT="Server"&gt;&lt;/TD&gt;
    &lt;/TR&gt;

&lt;/TABLE&gt;

&lt;P&gt;

&lt;div id="txtMsg" runat="server"/&gt;&lt;BR&gt;

&lt;/FORM&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;
</code></pre>
