email-header-0.2.0: Parsing and rendering of email and MIME headers

Safe HaskellSafe-Inferred
LanguageHaskell98

Network.Email.Header.Types

Description

Email header types.

Synopsis

Documentation

type Headers = [(HeaderName, HeaderField)] Source

A set of email headers.

type HeaderName = CI ByteString Source

An email header name.

type HeaderField = ByteString Source

The email header field.

newtype Address Source

An email address.

Constructors

Address ByteString 

data Mailbox Source

A Mailbox receives mail.

Constructors

Mailbox 

Instances

data Recipient Source

A Recipient is used to indicate senders and recipients of messages. It may either be an individual Mailbox, or a named group of Mailboxes.

newtype MessageID Source

A message identifier, which has a similar format to an email address.

Constructors

MessageID ByteString 

data MimeType Source

A MIME type.

Constructors

MimeType 

type Parameters = Map (CI ByteString) ByteString Source

MIME content type parameters.