smtp-mail-0.3.0.0: Simple email sending via SMTP
Safe HaskellNone
LanguageHaskell2010

Network.Mail.SMTP.Types

Contents

Synopsis

Documentation

data Command Source #

Constructors

HELO ByteString 
EHLO ByteString 
MAIL ByteString 
RCPT ByteString 
DATA ByteString 
EXPN ByteString 
VRFY ByteString 
HELP ByteString 
AUTH AuthType UserName Password 
NOOP 
RSET 
QUIT 
STARTTLS 

Instances

Instances details
Eq Command Source # 
Instance details

Defined in Network.Mail.SMTP.Types

Methods

(==) :: Command -> Command -> Bool

(/=) :: Command -> Command -> Bool

Show Command Source # 
Instance details

Defined in Network.Mail.SMTP.Types

Methods

showsPrec :: Int -> Command -> ShowS

show :: Command -> String

showList :: [Command] -> ShowS

type ReplyCode = Int Source #

Auth types (re-exports)

type UserName = String Source #

type Password = String Source #

data AuthType Source #

Constructors

PLAIN 
LOGIN 
CRAM_MD5 

Instances

Instances details
Eq AuthType Source # 
Instance details

Defined in Network.Mail.SMTP.Auth

Methods

(==) :: AuthType -> AuthType -> Bool

(/=) :: AuthType -> AuthType -> Bool

Show AuthType Source # 
Instance details

Defined in Network.Mail.SMTP.Auth

Methods

showsPrec :: Int -> AuthType -> ShowS

show :: AuthType -> String

showList :: [AuthType] -> ShowS

Network.Mail.Mime types (re-exports)

data Address Source #

Constructors

Address 

Fields

Instances

Instances details
Eq Address 
Instance details

Defined in Network.Mail.Mime

Methods

(==) :: Address -> Address -> Bool

(/=) :: Address -> Address -> Bool

Show Address 
Instance details

Defined in Network.Mail.Mime

Methods

showsPrec :: Int -> Address -> ShowS

show :: Address -> String

showList :: [Address] -> ShowS

IsString Address 
Instance details

Defined in Network.Mail.Mime

Methods

fromString :: String -> Address