Client support for POP3, SMTP, and IMAP


Version on this page:0.4.5
LTS Haskell 13.30:0.5.1@rev:1
Stackage Nightly 2021-05-15: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.4.5@sha256:5babf7e9c576ed7beb679b5b6cf6464d7e88c2d41c4daec5345eb3f7e426c8ec,1532


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