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

Text.Email.Validate

Synopsis

Documentation

isValid :: String -> BoolSource

Validates whether a particular string is an email address according to RFC5322.

validate :: String -> Either ParseError EmailAddressSource

If you want to find out why a particular string is not an email address, use this!

data EmailAddress Source

Constructor does no checking for invalid emails, so use at own risk.

Constructors

EmailAddress 

Instances