Commit Graph

6 Commits

Author SHA1 Message Date
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