Re: Generating zipped or gzipped attachment with email package?

2009-05-22 Thread Gabriel Genellina
En Thu, 21 May 2009 10:34:09 -0300, escribió: I want to modify my script to automatically zip or gzip files which exceed some size threshold. Doing the zip/gzip dance is no problem. I'm concerned about how to specify that properly with the email package. For example, consider a large CSV

Generating zipped or gzipped attachment with email package?

2009-05-21 Thread skip
I have a script which allows me to generate MIME messages with appropriate attachments. It's essentially a lightly modified version of the second example from this page of the email package docs: http://docs.python.org/library/email-examples.html I want to modify my script to automatically z