Hi, yes, it is best to place all the processing code in a code-behind page, which holds a class representing your web form. If you are using Visual Studio 2003 (for framework 1.1), the code-behind page will be added automatically when you create a web form. If your page name is myPage.aspx, the code behind page will be called myPage.aspx.cs. When you add a button on your web form, if you double-click on it, Visual Studio will automatically attach an event delegate to the button event. Something like this this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click); will be put in a method that was generated by Visual Studio called InitializeComponent(). btnSubmit_Click represents a method that will be executed when a user clicks on the submit button (called btnSubmit in this case.) The method skeleton code will also be generated for you and will look like this: protected void btnSubmit_Click(object sender, EventArgs e) The code to send the email should be placed in that method, where the information from the form can also be collected to be put in the mail message. You need to do some search online to see some examples of pages in order to better understand the concept. Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook