Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SmtpCred = SmtpCred {}
- smtpHost :: Lens' SmtpCred String
- smtpLogin :: Lens' SmtpCred String
- smtpPassword :: Lens' SmtpCred String
- smtpPort :: Lens' SmtpCred PortNumber
- module Network.HaskellNet.SMTP.SSL
- module Network.HaskellNet.SMTP
- module Data.Pool
- emailOptions :: Parser SmtpCred
- sendEmail :: MonadIO m => Pool SMTPConnection -> Mail -> m ()
- smtpPool :: PoolSettings -> IO (Pool SMTPConnection)
- defSettings :: SmtpCred -> PoolSettings
- poolCred :: Lens' PoolSettings SmtpCred
- poolConnf :: Lens' PoolSettings (SmtpCred -> IO SMTPConnection)
- poolStripes :: Lens' PoolSettings Int
- poolUnused :: Lens' PoolSettings NominalDiffTime
- poolStripeMax :: Lens' PoolSettings Int
- data PoolSettings = PoolSettings {}
- openTls :: SmtpCred -> IO SMTPConnection
- openPlain :: SmtpCred -> IO SMTPConnection
Documentation
We use smtp because it's an incredibly stable and well supported protocol this prevents vendorlocking.
SmtpCred | |
|
module Network.HaskellNet.SMTP.SSL
module Network.HaskellNet.SMTP
module Data.Pool
smtpPool :: PoolSettings -> IO (Pool SMTPConnection) Source #
defSettings :: SmtpCred -> PoolSettings Source #
poolConnf :: Lens' PoolSettings (SmtpCred -> IO SMTPConnection) Source #
data PoolSettings Source #
PoolSettings | |
|