I just tried sending myself a constantly increasingly long line, starting at 800 characters and limiting it to 1000 characters (which is sufficient to cause the line too long error), and it worked exactly the way I expected it to, and the script that I wrote for this process was still present, so I'm unable to duplicate this problem.

If you can replicate the problem and provide a sample code, it will be helpful to all of us considering this report.