Module

Data.RFC2821.Internal

Package
purescript-address-rfc2821
Repository
garganscript/purescript-address-rfc2821

#Address Source

data Address

#makeAddress Source

makeAddress :: String -> Either Error Address

Attempt to parse given string as an email adddress

#host Source

host :: Address -> String

Return the (parsed) host part Address

#original Source

original :: Address -> String

Return the original string from Address

#originalHost Source

originalHost :: Address -> String

Return the original host from Address

#user Source

user :: Address -> String

Return the (parsed) user parf of Address

#address Source

address :: Address -> String

Format Address as a string

#toString Source

toString :: Address -> String

Format Address as an envelope