Subj : Re: Max subject length: 71 or 72 chars? To : Wilfred van Velzen From : Rob Swindell Date : Mon Aug 26 2019 00:59:53 Re: Re: Max subject length: 71 or 72 chars? By: Wilfred van Velzen to Rob Swindell on Mon Aug 26 2019 09:16 am > RS> How does *your* implementation handle these fields? What would happen > RS> if you received a Stored Message where byte 71 (the 72nd byte) of the > RS> "subject" was non-null? Or if you received a packet that included a > RS> 72-character subject followed by a null? Both of these conditions do > RS> not appear to violate FTS-1, but I'm not sure how other programmers > RS> have interpetted these specs over the years. > > I checked the fmail source: it reads a maximum of 72 bytes (untill and > including a NULL) from the pkt file for the subject. It doesn't care if byte > 71 isn't a NULL (when the maximum of 72 bytes are read), but it forces it to > NULL before further processing. So effectively limiting the subject to 71 > characters. If the byte after 72 subject characters would be NULL, it > regards that as the 1st byte of the next field. So that would mean a message > body of 0 characters. Thanks for the detailed reply. -Rob --- SBBSecho 3.09-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .