General-Purpose Mail Filter
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.mf module. The
email_map returns 0 if its argument is not a valid
Returns ‘True’ (1) if email is a valid email address, consisting of local and domain parts only. E.g.:
email_valid("firstname.lastname@example.org") ⇒ 1 email_valid("gray") ⇒ 0 email_valid('"Sergey Poznyakoff <email@example.com>') ⇒ 0
This function is defined in email.mf (see Modules).
This document was generated on January 3, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.