[Email-SIG] Generating zipped or gzipped attachment with emailpackage?
Mark Sapiro
mark at msapiro.net
Thu May 21 21:16:36 CEST 2009
R. David Murray wrote:
>On Thu, 21 May 2009 at 13:08, skip at pobox.com wrote:
>> Alas, then I lose the notion that the file is actually text/csv. For
>> example, how would Outlook or Thunderbird know to open such a file in Excel
>> or OpenOffice Calc?
>
>By using whatever heuristics it uses for such a file on disk (including
>the filename extension), I would imagine. Suboptimal, but lacking
>a compression standard for email-MIME, it is probably the best you can do.
Ideally, one would be able to specify a parameter on the Content-Type;
header along the lines of
Content-Type: text/csv; charset="utf-8"; compression="gzip"
The MIME standards allow for such parameter extensions, but since I
just made that one up, no MUA is going to recognize it :(
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Email-SIG
mailing list