According to the SMTP RFC: (design spec)
http://james.apache.org/server/rfclist/smtp/rfc0821.txtThe line lenght is limited to 1000 characters per line (excluding leading extra . or CRLF, check the sizes section of the document)
So typing extremely long paragraphs without any CRLF into them might lead to this.
of listings of some automated software.
Sending files should be encasulated by MIME and mime has provisions to limit the linelength to much smaller amounts.