[quote user="Euler GERMAN"]I maybe wrong as I never used AOL but as noted by Olaf an email can't have a line bigger than 1024 characters. If it is Base64 encoded no line can exceed 64 characters. Your message has an encoded line which exceed 64-char by far.[/quote]
Well, it's actually 76 plus the two characters of the line break sequence as per RFC 2045 (emphasis by me, so there's absolutely no ambiguity):
The encoded output stream must be represented in lines of no more than 76 characters each.
The length of the encoded GIF forwarded to me by David is of ridiculously 38,368 bytes length!
The general line length limits are defined in RFC 5322 as follows:
There are two limits that this specification places on the number ofcharacters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.
The 998 character limit is due to limitations in many implementationsthat send, receive, or store IMF messages which simply cannot handle
more than 998 characters on a line. Receiving implementations would
do well to handle an arbitrarily large number of characters in a line
for robustness sake. However, there are so many implementations that
(in compliance with the transport requirements of [RFC5321]) do not
accept messages containing more than 1000 characters including the CR
and LF per line, it is important for implementations not to create
such messages.
David Harris already extended some of the buffer lengths he uses up to 4096 bytes in the past, but I don't know which ones and whether there are even some of infinite length (lets rather say up to at most 1 GB which would be a rational limit in 32bit environments).
Michael -- IERenderer's Homepage PGP Key ID (RSA 2048): 0xC45D831B S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C