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.
|Versions||0.0.1, 0.0.2, 0.0.3|
|Dependencies||base (<5), bytestring, directory, HaskellNet (<0.4), HsOpenSSL, network, text [details]|
|Author||Facundo Domínguez, MarketPsych Advisor LLC|
|Maintainer||Facundo Domínguez <firstname.lastname@example.org>|
|Source repository||head: darcs get http://patch-tag.com/r/facundo/imapget|
|Uploaded||Sat Dec 31 18:11:53 UTC 2011 by FacundoDominguez|
|Downloads||719 total (5 in the last 30 days)|
|Status||Docs not available [build log]
All reported builds failed as of 2016-12-26 [all 7 reports]
For package maintainers and hackage trustees