@hackage HaskellNet0.2.4

network related libraries such as POP3, SMTP, IMAP

HaskellNet

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