Hi! I currently have a web page which has some text on top and then a text area with a limit of 1,400 characters. Upon submitting, the system will create an HTTP request. I am using the WinHTTPRequest object for this. If an error has occurred, the user's message will be emailed instead.
When the user will type in the message (even with carriage returns), there will be no problem. The Http request will be successfully loaded. But when the user copies and pastes the text above the text area, and the text exceeds 1,200 characters, I get this error:
Error sending to firstname.lastname@example.org
: 501 5.5.4 Syntax error in parameters scanning
I achieve this by copying and pasting the text three or more times. But if the text is less than 1,200 characters (meaning I cut and paste once or twice only), there's no error. Can somebody tell me why this happens? I even tried removing special characters and used the Server.htmlencode command..but I still get the error.
I hope someone can help me on this.