HaskellNet

Client support for POP3, SMTP, and IMAP

https://github.com/jtdaugherty/HaskellNet

Version on this page:0.5.1@rev:1
LTS Haskell 22.44:0.6.1.2@rev:1
Stackage Nightly 2025-07-02:0.6.2
Latest on Hackage:0.6.2

See all snapshots HaskellNet appears in

BSD-3-Clause licensed by Jun Mukai
This version can be pinned in stack with:HaskellNet-0.5.1@sha256:53f2cfffb140740691296f905a70143c859b571eea3f5cf5f7a4642851d9e38a,1584

HaskellNet

Build Status

This package provides client support for the E-mail protocols POP3, SMTP, and IMAP.

Some examples of how to use the library are contained in the example/ directory. You should be able to run them by adjusting the file for your mail server settings and then loading the file in ghci and type ‘main’. eg.

ghci -hide-package monads-fd example/smtpMimeMail.hs main

If you encounter problems and want to debug the ghci debugger works well:

:set -fbreak-on-exception :trace main