@hackage imapget0.0.3
Downloads email from imap SSL servers.
Categories
License
BSD-3-Clause
Maintainer
Facundo Domínguez <facundominguez@gmail.com>
Links
Versions
Installation
Dependencies (0)
- HaskellNet >=0.3.1 && <0.4
- HsOpenSSL
- base <5
- bytestring
- directory
- network Show all…
Dependents (1)
@hackage/acme-everything
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.