qnikst / HaskellNet

Haskell library which provides client support for POP3, SMTP, and IMAP protocols.
Other
87 stars 54 forks source link

`IMAP.fetch` returns empty string #96

Open mpscholten opened 1 year ago

mpscholten commented 1 year ago

I was previously running v0.6.0.2 and all my IMAP operations were working fine.

Now I have updated to the latest master version and the fetch operation returns empty strings for some reason:

message <- IMAP.fetch connection uid
-- message == ""

The v0.6.0.2 version of this library works fine when connecting to the same mailbox and fetching the same UID, so it seems to be a recent change.

I've tried out multiple commits, and ea7dd9d2c66c82f464e687239befee3e3f283d17 is the last one that works.

When running with the next commit https://github.com/qnikst/HaskellNet/commit/b6fed67f86c2ccaa6a071ab967d64c74dfd1c908 I get an empty fetch result again. I guess it's somehow related to the change there in the lookup' function.