You must Sign In to post a response.
- Category: .NET
- #767444i cant able to understand your question exactly.?
i thing you want to add drop down value while send mail to end user Am Right?
if am right just call the drop down id where you want to add and send the value to mail.thats it.
hope this will help you.
- #767445no i just want to add one table with dropdown value in email when replying user needs to enter the details in text box and select from dropdown .
- #767447While sending email from c# code you have the propety called IsBody. You have to make that property true
MyMailL.IsBodyHtml = true;
If you make that property true, you can send any html code as body of the email. So Now you can write the code for drop down, text box whatever you want. Then send the email. So the user can use receive the email as html.
Direction is important than speed
MailMessage mailMsg = new MailMessage();
mailMsg.IsBodyHtml = true;
mailMsg.Body = "<input type=\"text\" name=\"txt1\" value=\"Type Here!\" /><BR/><select name=\"ddl1\"><option value=\"Item1\">Hi 1</option></select>";