Posted on: 2/14/2014 9:36:24 PM | Views : 627

I have created a simple web email that consists of two Textbox’s, one for the send to email address and a one for a message. The code works. I want to delete the Message Textbox and add multiple Textbox’s for Address, City, State, ZIP, and Phone Number. How can I do that? The following is my code: <script language="C#" runat="server"> protected void Page_Load(object sender, EventArgs e) { } protected void sendEmailButton_Click(object sender, EventArgs e) { MailMessage mail = new MailMessage(); mail.From = new MailAddress("postmaster@MervNorton.com"); mail.Subject = "Personal Data" ; mail.Body = txtMessage.Text; mail.To.Add(txtEmail.Text); SmtpClient smtp = new SmtpClient("smtp.MervNorton.com"); NetworkCredential credential ...

Go to the complete details ...