Bjørnar Nielsen wrote: >> Anyway, the RFC 821 says that the maximum line length >> including <CRLF> is 1000 chars. If I use a subject that is >> longer, and break the line at 74 with <CRLF> and tab, the >> header-subject would be RFC-compliant, but the smtp-component >> would crash. > > I guess I could use OnProcessHeader and split the lines into more lines if > to long. But I think StrPCopy should be changed to StrPLCopy, I think this > would not decrease performance, just stop the component from crashing if a > line is to long.
Yes, it should be fixed, anyway it won't prevent the developer from checking for correct line length, so it is not so important. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be