[imp] Posible fix solution when attach files from Gollem

Michael M Slusarz slusarz at mail.curecanti.org
Wed Feb 2 10:46:30 PST 2005


Quoting Sebastián Calero <scalero at datadec.es>:

> If I attach a file from Gollem to a IMP message the MIME part is 
> always 'application/octet-stream'. To determine the correct MIME type 
> I change the 'addMIMEPartAttachment()' function in 
> imp/lib/Compose.php like this:
> <                     $type = MIME_Magic::filenameToMIME($attachment, false);
> ---
>>                     $type = 
>> MIME_Magic::filenameToMIME($part->getName(), false);
>
> Greetings...
>
> Sebastian Calero.
>

It works fine for me here without your change.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the imp mailing list