[Alpine-info] Displaying Message/RFC822 attachments fails with
IMAP
Matt Ackeret
mattack at apple.com
Wed Nov 26 11:37:58 PST 2008
On Wed, 26 Nov 2008, Heikki Vesalainen / Ixonos wrote:
>Mark Crispin said: [my made up attribution line]
>> A reasonable server implementation will send the encoding as "8BIT" if the
>> encapsulated message has any octets with values 0x80 or higher, and "7BIT"
>> otherwise.
>
> Yes, and a reasonable client would tolerate "unreasonable" servers, since they
> are abundant. From where I'm looking, it seems to be your stance that an IMAP
Disclaimer: I don't know ANYTHING about this IMAP/MIME stuff.
Your workaround seems reasonable to me. Maybe print something like
[ Message had invalid encoding. Assuming 8BIT. See Setup/Config/Encoding ]
and then do the rest as if it were 8BIT.. or scan the message to see if
you can figure out if it needs 8BIT or 7BIT.. If not, have a manual override
(that I refer to as Setup/Config/Encoding) for the user to pick a default
one for broken messages. If they pick wrong, the message could be all
garbled or worse. The default would be to do as now, not print the message
section.
More information about the Alpine-info
mailing list