[imp] MIME type not set, and empty browser window

Michael M Slusarz slusarz at bigworm.colorado.edu
Tue Feb 25 12:33:14 PST 2003


Quoting Jan Schneider <jan at horde.org>:

| Quoting Lars Hecking <lhecking at nmrc.ucc.ie>:
| 
| > Lars Hecking writes:
| > >
| > >  Not sure they are bugs or configuration/browser related. I have
| tried
| > both
| > >  netscape 4.80 and mozilla (cvs).
| > >
| > >  Whenever I send email from imp and attach a file, the MIME type
| field
| > in the
| > >  compose window remains empty, and in the received message, the MIME
| > type is
| > >  always application/octet-stream. This happens with file types that
| > should be
| > >  recognised (Word, pdf). What should I check?
| >
| >  Correction: the MIME type is always set to application/octet-stream at
| >  compose time.
| 
| The mime type we set depends on what the browser tells IMP.

An additional note: In HEAD, we use the file() command (either command-line 
or the built-in PHP version) to try to determine the MIME type if the file 
type is given as application/octet-stream.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list