I'm attempting to deliver the same message whether its over FTP or email, but the saved file keeps coming out as different sizes. The textual content of the message is the same, but the nonprintable characters must be accounting for the different size!
When transferring the text file over FTP (in Binary mode to prevent FTP translation of EOL characters), the delivered file size is 7660 bytes.
When I deliver the message over email (sent with smtp, retrieved with POP3), the delivered message size (when dumped straight into a fresh file) is 8043 bytes. The email is sent as a plain text email, and the message comprises the entire email body. This is a size difference of 383 bytes, and the linecount is 385 lines, leading me to think the two are related... but try as I might, I can't get the same message over email!
I've tried several combinations of stripping carriage returns and linefeeds on the email message data, to no avail!
Do MIME messages have a different way of dealing with linefeeds?