The simple e-mail webform in the shown in the code below sends the characters in its textbox as an email message correctly when text of any length is pasted into the textbox but not when large numbers of characters are typed into the textbox. The limit to the number of characters that you can type into the textbox and still have them ALL sent as email is somewhere around 1000. After the number of characters typed into the textbox exceeds something like 1000, the resulting e-mail message is truncated.
What can be done to make this app work when large numbers of characters are entered from the keyboard?
private void Button1_Click(object sender, System.EventArgs e)
{
MailMessage mess = new MailMessage();
mess.From = "te****@xxx.com";
mess.To = "te****@xxx.com";
mess.Subject = "test";
mess.BodyFormat = MailFormat.Text;
mess.Body = TextBox1.Text;
SmtpMail.SmtpServer = "mail.xxx.com";
SmtpMail.Send(mess);
}