Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EmailOptions

Index

Properties

Optional allowUnicode

0.0.46 provide
allowUnicode: boolean

If true, Unicode characters are permitted

default

true

Optional ignoreLength

0.0.46 provide
ignoreLength: boolean

if true, ignore invalid email length errors.

default

false

Optional minDomainSegments

0.0.46 provide
minDomainSegments: number

Number of segments required for the domain. Be careful since some domains, such as io, directly allow email.

default

2

Optional multiple

0.0.46 provide
multiple: boolean

if true, allows multiple email addresses in a single string, separated by , or the separator characters.

default

false

Optional separator

0.0.46 provide
separator: string | string[]

when multiple is true, overrides the default , separator. String can be a single character or multiple separator characters.

default

','

Optional tlds

0.0.46 provide
tlds: false | TopLevelDomainOptions

Options for TLD (top level domain) validation. By default, the TLD must be a valid name listed on the IANA registry

default

{ allow: true }