I want to send an email from a .net windows forms application using the system\'s default email client (thunderbird, outlook, etc.). I\'d like to preset the subject and body
This is what I tried:
Process.Start("mailto:demo@example.invalid?subject=" +
HttpUtility.HtmlAttributeEncode("Application error report") +
"&body=" + HttpUtility.HtmlAttributeEncode(memoEdit1.Text));
But if the body text is too large I get the exception:
Win32Exception "The data area passed to a system call is too small"
So the question is still open since I need to handle long body text. I don't know the size limit for this error.