[imp] Attachment corruption problem

Michael M Slusarz slusarz at horde.org
Tue Apr 25 15:04:49 PDT 2006


Quoting Jan Schneider <jan at horde.org>:

> Zitat von "Daniel A. Ramaley" <daniel.ramaley at DRAKE.EDU>:
>
>> On Tuesday 25 April 2006 11:09, Jan Schneider wrote:
>>> Your browser is sending the wrong mime type when uploading the
>>> attachment, probably text/plain.
>>
>> After some more testing, i have found your statement to be correct. Most
>> attachments sent through Imp are base64 encoded. The problematic file,
>> however, comes through as quoted-printable and becomes corrupted. When
>> the same file is sent through Yahoo (using the same web browser) it is
>> base64 encoded and is not corrupted.
>>
>> Is there a way to tell Imp to always use base64 encoding for
>> attachments, like the major web mail providers do? I just tested, and
>> Yahoo for example uses base64 even on plain text files.
>
> The encoding is not the source of the problem, the mime type is, like
> I said. The browser is uploading the attachment with a text mime type,
> thus we encode in quoted printable. Only binary attachments are (and
> should be) encoded in base64.

See http://bugs.horde.org/ticket/?id=3565, specifically my comments  
from 3/28/2006.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the imp mailing list