Code hang's after fatching A email or two

Jun 16, 2010 at 10:20 PM

It get's stock at this line: string response = StreamReader.ReadLine();


Any idea what I could do?

Aug 14, 2010 at 7:53 PM

What email sever are you using? Most likely its doing something the library didn't expect.

Aug 15, 2010 at 5:15 PM

I already figured that the problem happens when I try to delete the email after reading it I use  "Command.SetDeleted(Id, True)" After I removed this line it works great.

I'm using Gmail how do I need to delete email's?

Thanks a lot for your help.

All the best