Enumeration MailboxTypeConst

Type of Mailbox. Flags for buildPattern() and validate() functions.

Enumeration Members

ALLOW_ADDRESS_LITERAL: 4

Add flag to RFC5321 or RFC6531 to allow address literals.

ALLOW_LOCAL_DOMAIN: 8

Add flag to RFC5321 or RFC6531 to allow local domains.

ALLOW_QUOTED_STRING: 2

Add flag to RFC5321 or RFC6531 to allow quoted strings in local part.

RFC5321: 0

RFC 5321 Mailbox address. Does NOT allow quoted string local parts, address literals, or local domains by default. See STRICT flag.

RFC6531: 1

RFC 6531 Extended Mailbox Address (SMTPUTF8 address). Supports Unicode characters. Does NOT allow quoted string local parts, address literals, or local domains by default. See STRICT flag.

SMTPUTF8: 1

Alias to RFC6531.

STRICT: 14

Add flag to RFC5321 or RFC6531 for strict interpretation. (ALLOW_QUOTED_STRING | ALLOW_ADDRESS_LITERAL | ALLOW_LOCAL_DOMAIN)

Generated using TypeDoc