HaskellNet-0.6.0.2: Client support for POP3, SMTP, and IMAP
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.HaskellNet.POP3

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

data AuthType Source #

Authorization types supported by the RFC5954

Constructors

PLAIN 
LOGIN 
CRAM_MD5 

Instances

Instances details
Show AuthType Source # 
Instance details

Defined in Network.HaskellNet.Auth

Eq AuthType Source # 
Instance details

Defined in Network.HaskellNet.Auth