| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Network.Email.Header.Types
Description
Email header types.
- type Headers = [(HeaderName, HeaderField)]
- type HeaderName = CI ByteString
- type HeaderField = ByteString
- newtype Address = Address ByteString
- data Mailbox = Mailbox {}
- data Recipient
- = Individual Mailbox
- | Group Text [Mailbox]
- newtype MessageID = MessageID ByteString
- data MimeType = MimeType {}
- type Parameters = Map (CI ByteString) ByteString
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.
An email address.
Constructors
| Address ByteString |
A Recipient is used to indicate senders and recipients of messages.
It may either be an individual Mailbox, or a named group of
.Mailboxes
Constructors
| Individual Mailbox | |
| Group Text [Mailbox] |
A message identifier, which has a similar format to an email address.
Constructors
| MessageID ByteString |
A MIME type.
Constructors
| MimeType | |
Fields
| |
type Parameters = Map (CI ByteString) ByteString Source
MIME content type parameters.