smtp-mail-ng-0.1.0.0: An SMTP client EDSL

Safe HaskellNone
LanguageHaskell2010

Network.Mail.SMTP.SMTPParameters

Description

 

Synopsis

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).

Instances

type HostName = String

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".

defaultSMTPParameters :: HostName -> SMTPParameters Source

Default SMTP parameters for some hostname. Uses port 25, non-verbose.