HaskellNet-0.5.1: Client support for POP3, SMTP, and IMAP

Safe HaskellNone
LanguageHaskell98

Network.HaskellNet.POP3

Contents

Synopsis

Establishing Connection

connectPop3Port :: String -> PortNumber -> IO POP3Connection #

connecting to the pop3 server specified by the hostname and port number

connectPop3 :: String -> IO POP3Connection #

connecting to the pop3 server specified by the hostname. 110 is used for the port number.

connectStream :: BSStream -> IO POP3Connection #

connecting to the pop3 server via a stream

Send Command

sendCommand :: POP3Connection -> Command -> IO (Response, ByteString) #

sendCommand sends a pop3 command via a pop3 connection. This action is too generic. Use more specific actions

More Specific Operations

dele :: POP3Connection -> Int -> IO () #

Other Useful Operations

doPop3 :: String -> (POP3Connection -> IO a) -> IO a #

Other types

data AuthType #

Constructors

PLAIN 
LOGIN 
CRAM_MD5