Posted on: 6/16/2013 11:32:18 PM | Views : 640

Hi
I have aspx page where i have the email field like this
<input class="span12" type="text" placeholder="EMAIL" id="Email" name="Email" runat="server" />
In my Csharp file i have code and using Request["Email"] to get the address when visitor fill it  like Below, But it does not work, I am using .net 4.0
using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.Mail;
private void SendEmail(int RefNum) { var customerEmail = Request["Email"]; //getting value from aspx page. MailMessage ObjEmail = new MailMessage(); ObjEmail.SendFrom = "carlaza@hotmail.ca"; ObjEmail.SendTo = "zjaffary@hotmail.com"; ObjEmail.SendCC = "jaffa ...

Go to the complete details ...