[imp] Problems with subject/attachments coded in iso 8859 1 ?B?format

Miguel Ward mward@aluar.com.ar
Thu, 13 Jun 2002 09:38:30 -0300


Jan:

Ok. Found problem: My base64 lines are over 75 bytes in length.

Both in MIME.php (horde 2.1) and in lib.php (horde 1.2.7) you parse a maximum of
75 bytes (you state:
'the mime header spec says this is the longest a single encoded word can be').

This is true when converting to base64 but not the other way round (when
converting from base64 there are no blank spaces in the original encoding).

I changed the maximum to 500 and all ok. If I knew better I would only change
this if coding is base64.

May I suggest this change for next release of horde?

Regarding attachments with same problem, this works ok now with imp 3.1 (still
does not work with imp 2.2.7, one more reason to change to new version!).

Best regards from Patagonia.

Miguel


----- Original Message -----
From: "Jan Schneider" <jan@horde.org>
To: "imp" <imp@lists.horde.org>
Sent: Wednesday, June 12, 2002 4:37 PM
Subject: Re: [imp] Problems with subject/attachments coded in iso 8859 1
?B?format


Zitat von Miguel Ward <mward@aluar.com.ar>:

> Hi:
>
> Have been using imp 2.2 and trying imp 3.1.
>
> Both these (great) programs unfortunately do not seem to convert text
> which has
> been coded with iso-8859-1?B? (ie base 64).
>
> Thus subject line of email message is show as (for example):
>
> =?ISO-8859-1?B?U29saWNpdHVkIEludGVybmEgZGUgQ29tcHJhIDE0NjYwIFJlcXV...

This must be something local, IMP is showing such headers correctly, we even
generate base64 encoded headers on sending messages.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org