SmtpMail.Send(_MailMessage); doesn't work
<p>I am using default smpt virtula server to send mail using c# but it doesn't send any mails and also it doesn't throw any exceptions
 public static void SendEmail(string _FromEmail, string _ToEmail, string _Subject, string _EmailBody)
    {</p>

<pre><code>    // setup email header . 
    SmtpMail.SmtpServer = "localhost";
    MailMessage _MailMessage = new MailMessage();

    _MailMessage.From = _FromEmail;
    _MailMessage.To = _ToEmail;
    _MailMessage.Subject = _Subject;
    _MailMessage.Body = _EmailBody;

    try
    {
        SmtpMail.Send(_MailMessage);
    }
    catch (Exception ex)
    {

        throw new ApplicationException("error has occured: " + ex.Message); 
    }

}
</code></pre>

<p>please help!</p>
