Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SMTPParameters = SMTPParameters {}
- type HostName = String
- newtype PortNumber :: * = PortNum Word16
- defaultSMTPParameters :: HostName -> SMTPParameters
Documentation
data SMTPParameters Source
Data necessary to kick-start an SMTP session, plus a flag to indicate verbosity (actually a misnomer I though; should be smtpQuiet, since we have only two options: verbose or not verbose).
Either a host name e.g., "haskell.org"
or a numeric host
address string consisting of a dotted decimal IPv4 address or an
IPv6 address e.g., "192.168.0.1"
.
newtype PortNumber :: *
defaultSMTPParameters :: HostName -> SMTPParameters Source
Default SMTP parameters for some hostname. Uses port 25, non-verbose.