HaskellNet: Client support for POP3, SMTP, and IMAP

[ bsd3, library, network ] [ Propose Tags ]

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]


Automatic Flags

Use network-bsd


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 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, 0.5.2, 0.5.3, 0.6,,, (info)
Change log CHANGELOG
Dependencies array, base (>=4.3 && <4.15), base64-string, bytestring (>=0.10.2), cryptohash-md5, fail (>= && <4.10), mime-mail (>=0.4.7 && <0.6), mtl, network (>= && <3.2), network-bsd (>=2.7 && <2.9), old-time, pretty, text [details]
License BSD-3-Clause
Copyright (c) 2006 Jun Mukai
Author Jun Mukai
Maintainer Alexander Vershilov <alexander.vershilov@sirius.online>, Jonathan Daugherty <cygnus@foobox.com>, Leza Morais Lutonda <lemol-c@outlook.com>
Category Network
Home page https://github.com/qnikst/HaskellNet
Source repo head: git clone git://github.com/qnikst/HaskellNet.git
Uploaded by AlexanderVershilov at 2020-12-22T04:40:34Z
Distributions LTSHaskell:, NixOS:
Reverse Dependencies 6 direct, 2 indirect [details]
Downloads 17541 total (62 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-12-22 [all 1 reports]

Readme for HaskellNet-0.5.3

[back to package description]



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