-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Helpers to connect to SSL/TLS mail servers with HaskellNet -- -- This package ties together the HaskellNet and connection packages to -- make it easy to open IMAP and SMTP connections over SSL. @package HaskellNet-SSL @version 0.4.0.1 module Network.HaskellNet.SSL -- | Settings for configuring HaskellNet connections data Settings Settings :: PortNumber -> Int -> Bool -> Bool -> Settings -- | Port number to connect to [sslPort] :: Settings -> PortNumber -- | Max line lengths [sslMaxLineLength] :: Settings -> Int -- | Log info to console [sslLogToConsole] :: Settings -> Bool -- | Disable certificate validation [sslDisableCertificateValidation] :: Settings -> Bool -- | Construct default settings for a port defaultSettingsWithPort :: PortNumber -> Settings instance GHC.Classes.Eq Network.HaskellNet.SSL.Settings instance GHC.Classes.Ord Network.HaskellNet.SSL.Settings instance GHC.Show.Show Network.HaskellNet.SSL.Settings module Network.HaskellNet.SMTP.SSL connectSMTPSSL :: String -> IO SMTPConnection connectSMTPSSLWithSettings :: String -> Settings -> IO SMTPConnection connectSMTPSTARTTLS :: String -> IO SMTPConnection connectSMTPSTARTTLSWithSettings :: String -> Settings -> IO SMTPConnection doSMTPSSL :: String -> (SMTPConnection -> IO a) -> IO a doSMTPSSLWithSettings :: String -> Settings -> (SMTPConnection -> IO a) -> IO a doSMTPSTARTTLS :: String -> (SMTPConnection -> IO a) -> IO a doSMTPSTARTTLSWithSettings :: String -> Settings -> (SMTPConnection -> IO a) -> IO a -- | Settings for configuring HaskellNet connections data Settings Settings :: PortNumber -> Int -> Bool -> Bool -> Settings -- | Port number to connect to [sslPort] :: Settings -> PortNumber -- | Max line lengths [sslMaxLineLength] :: Settings -> Int -- | Log info to console [sslLogToConsole] :: Settings -> Bool -- | Disable certificate validation [sslDisableCertificateValidation] :: Settings -> Bool defaultSettingsSMTPSSL :: Settings defaultSettingsSMTPSTARTTLS :: Settings module Network.HaskellNet.POP3.SSL connectPop3SSL :: String -> IO POP3Connection connectPop3SSLWithSettings :: String -> Settings -> IO POP3Connection -- | Settings for configuring HaskellNet connections data Settings Settings :: PortNumber -> Int -> Bool -> Bool -> Settings -- | Port number to connect to [sslPort] :: Settings -> PortNumber -- | Max line lengths [sslMaxLineLength] :: Settings -> Int -- | Log info to console [sslLogToConsole] :: Settings -> Bool -- | Disable certificate validation [sslDisableCertificateValidation] :: Settings -> Bool defaultSettingsPop3SSL :: Settings -- | IMAP SSL Connections module Network.HaskellNet.IMAP.SSL -- | Create IMAP connection with default settings connectIMAPSSL :: String -> IO IMAPConnection -- | Create IMAP connection with given settings connectIMAPSSLWithSettings :: String -> Settings -> IO IMAPConnection -- | Settings for configuring HaskellNet connections data Settings Settings :: PortNumber -> Int -> Bool -> Bool -> Settings -- | Port number to connect to [sslPort] :: Settings -> PortNumber -- | Max line lengths [sslMaxLineLength] :: Settings -> Int -- | Log info to console [sslLogToConsole] :: Settings -> Bool -- | Disable certificate validation [sslDisableCertificateValidation] :: Settings -> Bool -- | Default IMAP SSL settings, port 993 defaultSettingsIMAPSSL :: Settings