The HaskellNet package

[Tags:bsd3, library]

This package provides client support for the POP3, SMTP, and IMAP protocols. NOTE: this package will be split into smaller, protocol-specific packages in the future.

[Skip to Readme]


Versions 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5, 0.5.1
Change log CHANGELOG
Dependencies array, base (==4.*), base64-string, bytestring, Crypto (>4.2.1), haskell98, mime-mail (>=0.3.0 && <0.4), mtl, network, old-time, pretty, text [details]
License BSD3
Copyright (c) 2006 Jun Mukai
Author Jun Mukai
Maintainer Jonathan Daugherty <>
Stability Unknown
Category Network
Home page
Source repository head: git clone git://
Uploaded Wed Dec 28 21:34:16 UTC 2011 by JonathanDaugherty
Distributions LTSHaskell:0.5.1, NixOS:0.5.1, Stackage:0.5.1, Tumbleweed:0.5.1
Downloads 3565 total (34 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 5 reports]


  • Network
    • HaskellNet
      • Network.HaskellNet.Auth
      • Network.HaskellNet.BSStream
      • Network.HaskellNet.Debug
      • Network.HaskellNet.IMAP
        • Network.HaskellNet.IMAP.Connection
        • Network.HaskellNet.IMAP.Parsers
        • Network.HaskellNet.IMAP.Types
      • Network.HaskellNet.POP3
        • Network.HaskellNet.POP3.Connection
        • Network.HaskellNet.POP3.Types
      • Network.HaskellNet.SMTP


Maintainer's Corner

For package maintainers and hackage trustees

Readme for HaskellNet

Readme for HaskellNet-0.3


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