I have to send an email which contains some checkboxes.My aspx form also have same checkboxes which is in html email template but form checkboxes are asp controls.
If user ticks on 1 checkbox and other checkbox is unselected,
then how can i send the check value to html template and get into html template and select,unchecked the
checkboxes in html template according to selected by user in form.
html checkboxes and aspx form checkboxes both have same text.
How are you generating and formatting the email? Are you doing it in VB.NET/C# with System.Net.Mail? If you are doing it the way I think you may be, I think your best bet would be to pass an array of true/false values when you format the body of the email using the template, and check/uncheck the checkboxes in the email using these values. For example:
Of course I’m making a lot of assumptions here. Then, in your template file, each checked value would use a true/false value from the array, so the first one would have:
I hope this helps. If I am way off, post the code you are using to generate and send the email and I’ll be able to help more.