In the course of setting up sqwebmail, I found that for file attachments
it uses the following header:

Content-Disposition: attachment; filename*=iso-8859-1'en-us'Empire.tgz

This causes problems with some mail clients such as squirrelmail, which
cannot handle this more compact notation and looses the filename
information.  I have modified webmail to produce the following header:

Content-Disposition: attachment; filename="Empire.tgz"

Squirrelmail and Sylpheed react more favorably to this header, and are
able to decipher the filename information.  Before I commit to this change
on my production systems, will this change cause any problems?  The
Content-Type header still retains the original style:

Content-Type: application/octet-stream; name*=iso-8859-1''Empire.tgz

Clay Dowling

-- 
Lazarus Notes from Lazarus Internet Development
http://www.lazarusid.com/notes/
Articles, Reviews and Commentary on web development




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to