I've been using poco with some extensions to send and receive emails (pop and smtp) with SSL - sometimes -the following code (far from complete) hangs and just consumes all the available memory. I believe there is something with the MultipartReader but have not been able to figure that one out. Any suggestions....
I've been using a mailbox with 400 messages totaling 80 mb to test and sometimes I can download everything and sometimes not - it does not hang on any particular message.
...
MailInputStream mis(sis);
MultipartReader reader(mis, boundary);
strstream strstr;
StreamCopier::copyStream(reader.stream(), strstr);





