Re: Listening for a Keypress (Console, not GUI)

2005-06-23 Thread brettk
Ok, I should really read my messages more carefully before posting, I apologize. This is what i'm envisioning "Python Mail Service is running..." Status is printed like: "Current Statistics" Messages retrieved : 12345 Errors: 123 Total Files Written: 12345 Like that - again, apologies for my

Listening for a Keypress (Console, not GUI)

2005-06-23 Thread brettk
Hello All, I've written a small daemon that monitors a pop3 mailbox and downloads any new messages. It's run from the console in windows, and instead of having it print something each time it gets a message or writes a file, i'd like to store those values as internal variables and print them to t

Getting/Saving email attachments w/ poplib and email modules

2005-06-21 Thread brettk
Hello All, Here's what I'm trying to do: I need to connect to a pop3 server, download all messages, and copy all of the attachments into a specific directory. The actual email message is unimportant. Now, I've found plenty of examples that strip the attachments from an email message, but most (