Last post May 24, 2009 04:03 PM by RaeKC
May 24, 2009 01:33 AM|RaeKC|LINK
I added a drop down list to my contact form with various subjects for the user to pick when sending the contact form, and if none apply, it has an "other" choice in bottom of list.
It doesn't show up in the emails I'm getting. Looking over the contact form and the webconfig file, I couldn't figure out what I needed to add / change to have the email I receive, include the drop down list choice the user picked.
Can any one help out as to where i need to look or help me with it if its something that has to be added?
May 24, 2009 03:46 AM|Lee Dumond|LINK
MailMessage msg = new MailMessage();
msg.IsBodyHtml = false;
msg.From = new MailAddress(txtEmail.Text, txtName.Text);
msg.Subject = myDropDownList.SelectedItem.Text; // this line changed
msg.Body = txtBody.Text;
May 24, 2009 04:03 PM|RaeKC|LINK
Thanks so much![Yes]