Client support for POP3, SMTP, and IMAP


Version on this page:0.5.1
LTS Haskell 18.10:0.6
Stackage Nightly 2021-06-14:0.6
Latest on Hackage:0.6

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:cfe43789d3614ce0c293cd86962598d50f654c7e82f71171448bed5e32ec019d,1545


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