Re: saving .zip or .txt email attachments instead of deleting them

2005-06-03 Thread scrimp
Here is the complete traceback..sorry about that though. I used the run button and entered in "C:\email.txt" for the msgfile parameter thats used for input This email.txt file has a zip file attached to it and is all in text, so hopefully I am working with the correct input file. I used the pop3

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread John Roth
"scrimp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Im using the winpython IDE to run that script for the unpacking the > email. The usage says unpackmail [options] msgfile. I type unpackmail > -d filename and it gives me a syntax error. What modifications did u do > to that mo

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread Peter Hansen
scrimp wrote: > OK i got past that syntax error I think. This is the error I am getting > nowAttributeError: 'NoneType' object has no attribute 'lower' All > Im reading is a text file of the email message with an attachment --zip > file Always post a *complete* traceback, with the line numbers

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
OK i got past that syntax error I think. This is the error I am getting nowAttributeError: 'NoneType' object has no attribute 'lower' All Im reading is a text file of the email message with an attachment --zip file -- http://mail.python.org/mailman/listinfo/python-list

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
Im using the winpython IDE to run that script for the unpacking the email. The usage says unpackmail [options] msgfile. I type unpackmail -d filename and it gives me a syntax error. What modifications did u do to that module to make it work? -- http://mail.python.org/mailman/listinfo/python-list

Re: saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread John Roth
"scrimp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How would I go about retriving an email message and stripping out the > attachment into a file. I have seen examples where they would read in > the file and delete the attachment and replace it with text saying that > the attac

saving .zip or .txt email attachments instead of deleting them

2005-06-02 Thread scrimp
How would I go about retriving an email message and stripping out the attachment into a file. I have seen examples where they would read in the file and delete the attachment and replace it with text saying that the attachment was removed. For testing purposes Im using a pop3 server to receive mes