Can't say much on the mimetype problem (maybe filename should be set too?).
I leave that for someone else to answer.
However:
<< Second, when mimetype is manually corrected in the database, I cannot
retrieve the file from the database. I use the following url:
<A HREF="" name="handle" />...
>>
The proper tag to use here is <mm:attachement />,
as in:
<A HREF="" />" ...
You should not call the handle field directly.
Pierre
