email-validate-2.1.3: Validating an email address string against RFC 5322

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Email.Parser

Synopsis

Documentation

addrSpec :: Parser EmailAddress Source

A parser for email addresses.

localPart :: EmailAddress -> ByteString Source

Extracts the local part of an email address.

domainPart :: EmailAddress -> ByteString Source

Extracts the domain part of an email address.

toByteString :: EmailAddress -> ByteString Source

Converts an email address back to a ByteString