[imp] Attachment corruption problem

Jan Schneider jan at horde.org
Tue Apr 25 14:24:25 PDT 2006


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.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list