Is there a Haskell IMAP library that works with TLS?

HaskellNet is apparently the only IMAP client library available for Haskell, but it does not seem to support the TLS connections required to access Gmail IMAP servers. Are there any alternative Haskell libraries or workarounds?

+7
source share
3 answers

Check imapget on hackage . This limitation is limited to creating a proxy port.

+3
source

Sorry for being here, but I came across this question when I had the same problem and have since written a library that adds SSL / TLS support for HaskellNet. It uses another library, a connection that I think did not exist at the time this question was originally published, and which made adding TLS support much easier than before. You can find it here: http://hackage.haskell.org/package/HaskellNet-SSL

I hope this will be useful to anyone who stumbles upon this topic looking for information on connecting to gmail accounts. In fact, for gmail in particular, there is sample code to connect to their IMAP / SMTP servers in the repository .

+7
source

It looks like a new library has appeared since your last post: imap : an effective IMAP client library with SSL and streaming.

0
source

All Articles