Posted on: 7/5/2014 8:49:39 PM | Views : 381

Hi,
I am trying to send out an email  for the submitted form to the user. I am using membership and the form is extra table in ASPnet.mdf.
This is my code:
MailMessage mail = new MailMessage(); mail.To.Add(txtTo.Text); mail.From = new MailAddress(txtFrom.Text); mail.Subject = txtSubject.Text; mail.Body = txtMessage.Text; mail.IsBodyHtml = true; How to add other text boxes for example I have another text box called Quote.text, dropdownbox.text  and other text boxes.
Also, I since it's a custom table form, how I can put this message to send out email:
Dear Member name, we have received your message.
Kindly let me know thanks

Go to the complete details ...