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.

Full examples can be found in the repository. Additional documentation on the major updates can be found in the Updating.md file

[Skip to Readme]


Automatic Flags

Use network-bsd


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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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.17), base64 (<0.5), 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>
Revised Revision 1 made by AlexanderVershilov at 2023-01-05T08:39:06Z
Category Network
Home page https://github.com/qnikst/HaskellNet
Source repo head: git clone git://github.com/qnikst/HaskellNet.git
Uploaded by AlexanderVershilov at 2022-05-17T18:11:33Z
Distributions LTSHaskell:, NixOS:
Reverse Dependencies 6 direct, 2 indirect [details]
Downloads 17884 total (65 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-17 [all 1 reports]

Readme for HaskellNet-

[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