The imapget package
This programs shows how to use HaskellNet to download email from imap SSL servers. The IMAP implementation is provided by HaskellNet, and the SSL implementation is provided by HsOpenSSL. The program uses HsOpenSSL to forward a tcp connection on a local port to a remote imap server and wraps the connection over SSL. HaskellNet simply connects to the local port.
Currently imapget is able to list imap folders and print downloaded messages in the standard output.
When run the first time, it will create a configuration file which you can edit to specify username, password, imap server and ports.
hostname=imap.gmail.com port=993 username=<your imap username> passwd=<your imap password> ssl_wrap_port=3004
ssl_wrap_port is the local port used to wrap IMAP traffic over SSL.
Properties
| Versions | 0.0.1, 0.0.2 |
|---|---|
| Dependencies | base (<5), bytestring, directory, HaskellNet (<0.4), HsOpenSSL, network, text |
| License | BSD3 |
| Author | Facundo Domínguez, MarketPsych Advisor LLC |
| Maintainer | Facundo Domínguez <facundominguez@gmail.com> |
| Category | Network |
| Source repository | darcs get http://patch-tag.com/r/facundo/imapget |
| Executables | imapget |
| Upload date | Sat Dec 31 18:18:13 UTC 2011 |
| Uploaded by | FacundoDominguez |
Downloads
- imapget-0.0.2.tar.gz (Cabal source package)
- package description (included in the package)