The HaskellNet package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


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]


Versions0.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.4, 0.4.5, 0.5, 0.5.1
Dependenciesarray, base (==4.*), base64-string, bytestring, cryptohash, mime-mail (>=0.4.7 && <0.5), mtl, network, old-time, pretty, text [details]
Copyright(c) 2006 Jun Mukai
AuthorJun Mukai
MaintainerJonathan Daugherty <>, Leza Morais Lutonda <>
Home page
Source repositoryhead: git clone git://
UploadedSun Apr 12 00:04:44 UTC 2015 by lemol




Maintainers' corner

For package maintainers and hackage trustees

Readme for HaskellNet-0.4.4


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