On Jul 31, 2011, at 1:20 PM, Manfred Lotz wrote: > Didn't help either. > > > If I add another > > resp4 <- recvMsg h > B.putStrLn resp4 > > at the end of imapDialog then I get the rest of the message. Sorry, I'm just shooting in the dark here. Did you try this? hSetBuffering h NoBuffering