Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 11:25 AM, Simon Pirschel wrote: Ok, forget about the EXISTS and RECENT response. The server will response this way if you selected a mailbox, which I did in the Python code but not in the Perl code. I disabled selecting the mailbox in Python and there is no difference in the

Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 09:49 AM, Simon Pirschel wrote: On 07/26/2012 05:21 AM, Tim Chase wrote: On 07/25/12 12:47, Simon Pirschel wrote: I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4 from imaplib. I noticed the performance to be very bad. I read 5000 files from a director

Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 05:21 AM, Tim Chase wrote: On 07/25/12 12:47, Simon Pirschel wrote: I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4 from imaplib. I noticed the performance to be very bad. I read 5000 files from a directory and append them to an IMAP INBOX. The hole procedu

append in IMAP4 from imaplib very slow

2012-07-25 Thread Simon Pirschel
Hi, I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4 from imaplib. I noticed the performance to be very bad. I read 5000 files from a directory and append them to an IMAP INBOX. The hole procedure of reading and appending is taking about 210 seconds. I set up the exact same