Network.DomainAuth.Mail

Documentation

Types for raw e-mail message

type RawMail

type RawFieldKey

type RawFieldValue

type RawBodyChunk

Types for parsed e-mail message

data Mail

type Header

data Field

type CanonFieldKey

type FieldKey

type FieldValue

type Body

canonicalizeKey

Obtaining Mail

readMail

getMail

Obtaining Mail incrementally.

data XMail

initialXMail

pushField

pushBody

finalizeMail

Functions to manipulate Header

lookupField

fieldsFrom

fieldsAfter

fieldsWith

Functions to manipulate Field

fieldValueFolded

fieldValueUnfolded

Functions to manipulate Body

isEmpty

fromBody

fromBodyWith

removeTrailingEmptyLine

Special function for DomainKeys and DKIM

parseTaggedValue