Next: Envelope modification functions, Previous: Filtering functions, Up: Library [Contents][Index]
Parses email and returns a bitmap, consisting of zero or more of the following flags:
email has more than one email address.
email has comment parts.
email has personal part.
email has local part.
email has domain part.
email has route part.
These constants are declared in the email.mfl module. The
function email_map
returns 0 if its argument is not a valid
email address.
Returns ‘True’ (1) if email is a valid email address, consisting of local and domain parts only. E.g.:
email_valid("gray@gnu.org") ⇒ 1 email_valid("gray") ⇒ 0 email_valid('"Sergey Poznyakoff <gray@gnu.org>') ⇒ 0
This function is defined in email.mfl (see Modules).