Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 24, 2009 03:03 PM by RaeKC
May 24, 2009 12:33 AM|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 02:46 AM|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 03:03 PM|LINK
Thanks so much![Yes]