.net 1.1:

		private Stream CallWebsite(string theURL, string requestBody)
		{
			//string theURL = getSingleItemFromConfig("urls/url[@id='default']");
			HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(theURL);
			myReq.Method = "POST";
			myReq.ContentType = "application/x-www-form-urlencoded";
			
			if (requestBody!= null && requestBody.Length>0)
			{
				myReq.ContentLength = requestBody.Length;

				Stream reqStream = myReq.GetRequestStream();
				StreamWriter wrtr = new StreamWriter(reqStream);

				wrtr.Write(requestBody);  
				wrtr.Close();
			}

			HttpWebResponse resp = (HttpWebResponse) myReq.GetResponse();

			Stream respStream = resp.GetResponseStream();
			return respStream;
		}


		// Send an email to support
		private void SendStatusEmail(string subject, string body)
		{
			try
			{
				string toList = getSingleItemFromConfig("notifyemail","");
				string smtpServer = getSingleItemFromConfig("smtpserver","");

				if (toList!= null && toList.Length>0)
				{
					System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
					msg.To = toList;
					msg.From = "richard8701@gmail.com";
					msg.Subject = subject;
					msg.Body = body;
					msg.BodyFormat= System.Web.Mail.MailFormat.Html;
					System.Web.Mail.SmtpMail.SmtpServer = smtpServer;
					System.Web.Mail.SmtpMail.Send(msg);
				}
			}
			catch (Exception) {}
		}


.net 2.0:

using System.Net.Mail;

        // Send email
        public static string SendEmail(string smtpServer, string mailFrom, string mailTo, string subject, string body)
        {
            string strError = "";

            try
            {
                // MailMessage is used to represent the e-mail being sent
                using (MailMessage message = new MailMessage(mailFrom, mailTo, subject + " - " + HttpContext.Current.Server.MachineName, body))
                {
                    // SmtpClient is used to send the e-mail
                    SmtpClient mailClient = new SmtpClient(smtpServer);

                    // UseDefaultCredentials tells the mail client to use the Windows credentials of the 
                    // account (i.e. user account) being used to run the application
                    mailClient.UseDefaultCredentials = true;

                    // Send delivers the message to the mail server
                    mailClient.Send(message);
                }
            }
            catch (FormatException ex)
            {
                strError= "Error sending mail: \""+ subject+ "\"\n"+ ex.ToString();
            }
            catch (SmtpException ex)
            {
                strError= "Error sending mail: \""+ subject+ "\"\n"+ ex.ToString();
            }

            return (strError);
        }