Re: Generating zipped or gzipped attachment with emailpackage?
Mark Sapiro <[email protected]>
| Newsgroups | gmane.comp.python.mime.devel |
|---|---|
| Organization | Not Very Much |
| Message-ID | <PC1922009052112163607503cb26292@msapiro> |
R. David Murray wrote: >On Thu, 21 May 2009 at 13:08, [email protected] 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 <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan