Commit Graph

9 Commits

Author SHA1 Message Date
Daniel P. Wright
263bee1392 Add IMAP session logging as an option
Setting the "sslLogToConsole" parameter to True will now spit out the
IMAP session log inline, prefixed with "HaskellNet-SSL".
2014-10-07 13:31:05 +09:00
Daniel P. Wright
e703d1c36a Add defaultSettings helpers for each protocol 2014-01-30 07:47:47 +09:00
Daniel P. Wright
c99470b2c1 Expose the HaskellNet.SSL module for Settings
Moved the private stuff into HaskellNet.SSL.Internal, so that
HaskellNet.SSL only exports Settings.

Updated minor version number for this quickfix release.
2014-01-18 10:12:27 +09:00
Daniel P. Wright
594bd9e1f8 Replace *Port connection functions with Settings equivalents
This fixes Issue 1 by allowing the user to set the maximum line length.
It does slightly break the similarity with HaskellNet, which uses the
*Port suffix to specify a port for each connection, but it seems like
the only sensible way to do it, really.  I opted not to keep the *Port
functions in because the proliferation of functions doing basically the
same thing would be too much, I think.
2014-01-17 15:36:16 +09:00
Daniel P. Wright
f910cef262 Create Settings structure to make maxLineLength configurable
This commit simply adds the structure without actually exposing it in
the interface.
2014-01-17 15:24:48 +09:00
Daniel P. Wright
cee0f0dccd Add Haddock documentation headers
Very minimal -- basically copying the header sections from HaskellNet so
that it's easy to see where the function would belong were it part of
HaskellNet itself.
2013-08-29 12:13:23 +09:00
Daniel P. Wright
a5e240859c Add doSMTP* functions to match HaskellNet
These are quite useful helpers to stop you from forgetting to close the
connection (like I did).
2013-08-28 08:12:18 +09:00
Daniel P. Wright
7f8faffa24 Pass hostname to SMTP HELO command 2013-08-26 13:51:29 +09:00
Daniel P. Wright
24e8f1c7f9 Initial commit 2013-08-26 13:33:34 +09:00