I have an ASP.NET web form that allows a user to send an e-mail from inside my application. The form contains three text boxes, a file upload control, and a button for sending the e-mail.
Mailmessage.value = ;
When I comment out the above line and replace it with "Mailmessage.Value = "Some string";
", my program works fine.
The above is contained inside of a click event handler named "EmailButton_Click". I've tried all of the solutions outlined in the following article, but none of them solved my problem: http://www.aspsnippets.com/Articles/ASPNet-Error-A-potentially-dangerous-RequestForm-value-was-detected-from-the-client.aspx
Thanks in advance for your help.