Home > @opengovsg/validators > EmailValidatorOptions
EmailValidatorOptions interface
The options to use for email validation.
Signature:
typescript
export interface EmailValidatorOptionsProperties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| domains? | { domain: string; includeSubdomains?: boolean; }[] | (Optional) The list of allowed domains for the domain part of the email address. If not provided, all domains are allowed. Each whitelisted domain must be specified as an object with the |