Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-18 Thread Dino Viehland
indication of which one it is. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of matan keret Sent: Sunday, November 15, 2009 8:34 AM To: Discussion of IronPython Subject: [IronPython] poplib.POP3_SSL OutOfMemory Issue Hi everyone! i wrote the

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-17 Thread matan keret
Toni and Tony, thank you for the suggestions :-) it seems for now that i can manage to do what i want with the Imap lib. so I'm gonna leave this bug for now. cheers, Matan On Tue, Nov 17, 2009 at 9:39 AM, Tony Meyer wrote: > > What was the prob with py 2.5 poplib with ip 2.6? Might be something

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-16 Thread Tony Meyer
> What was the prob with py 2.5 poplib with ip 2.6? Might be something > simple.. When I tried it, I got the same error as the OP did with the 2.5 poplib and IP 2.0. > How about using some .net lib for this directly? As a workaround while is > broken in ipy at least. Yes, that's a good suggestio

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-16 Thread Toni Alatalo
matan keret kirjoitti: I tried that as well :-) you are right, the _ssl module is a problem and I don't know how to work around that (don't know that much What was the prob with py 2.5 poplib with ip 2.6? Might be something simple.. How about using some .net lib for this directly? As a worka

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread Tony Meyer
> you are right, the _ssl module is a problem and I > don't know how to work around that Using the pre-2.6 module would have been the only way to work around it (i.e. work with the old socket methods). Since that doesn't work even in 2.6, then my guess would be that you'll just have to wait until

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread matan keret
I tried that as well :-) you are right, the _ssl module is a problem and I don't know how to work around that (don't know that much about py). also tried to use it in IP 2.0.3 but the implementation is different and I'll need to dig much more in that to make it work. Which is not my main goal right

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread Tony Meyer
> You might be surprised but IP 2.6 doesn't support SSL protocols at all :-( Ah, I'd forgotten about that. It's because of the changes that CPython 2.6 made. My suspicion is that you could use the CPython 2.5 poplib module with IP 2.6, though - it's not that SSL stopped working, it's that the _s

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread matan keret
Hi again, > Just a warning: you included your username and password with your code > you should probably immediately change your password. It's OK this is a mail box for testing only so nothing to worry about, there is nothing there :-) > If you start up an IP shell and just do this (and 'import

Re: [IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread Tony Meyer
Hi, > user = "matan...@hotmail.com" > pwd = "" Just a warning: you included your username and password with your code - you should probably immediately change your password. > server = poplib.POP3_SSL(host) If you start up an IP shell and just do this (and 'import poplib'), does that ca

[IronPython] poplib.POP3_SSL OutOfMemory Issue

2009-11-15 Thread matan keret
Hi everyone! i wrote the next code which suppose to go to my hotmail account, fetch the last email's image attachment and save it to a file: import email, poplib, os, string def get_messages_id(message_list): items = [] for message in message_list[1]: message_parts = string.split