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

Safe HaskellNone
LanguageHaskell98

Network.HaskellNet.POP3

Contents

Synopsis

Establishing Connection

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

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

connectPop3 :: String -> IO POP3Connection Source

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

connectStream :: BSStream -> IO POP3Connection Source

connecting to the pop3 server via a stream

Send Command

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

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

More Specific Operations

Other Useful Operations

Other types