@otakusan76/nestjs-environment-variables-provider - v1.0.6
    Preparing search index...

    Interface IsEmailOptions

    Options to be passed to EmailProperty decorator.

    interface IsEmailOptions {
        allow_display_name?: boolean;
        allow_ip_domain?: boolean;
        allow_underscores?: boolean;
        allow_utf8_local_part?: boolean;
        blacklisted_chars?: string;
        domain_specific_validation?: boolean;
        host_blacklist?: string[];
        host_whitelist?: string[];
        ignore_max_length?: boolean;
        require_display_name?: boolean;
        require_tld?: boolean;
    }
    Index

    Properties

    allow_display_name?: boolean

    If allow_display_name is set to true, the validator will also match Display Name <email-address>.

    false
    
    allow_ip_domain?: boolean

    If allow_ip_domain is set to true, the validator will allow IP addresses in the host part.

    false
    
    allow_underscores?: boolean

    If allow_underscores is set to true, the validator will allow underscores in an email address.

    false
    
    allow_utf8_local_part?: boolean

    If allow_utf8_local_part is set to false, the validator will not allow any non-English UTF8 character in email address' local part.

    true
    
    blacklisted_chars?: string

    If blacklisted_chars receives a string, then the validator will reject emails that include any of the characters in the string, in the name part.

    domain_specific_validation?: boolean

    If domain_specific_validation is true, some additional validation will be enabled, e.g. disallowing certain syntactically valid email addresses that are rejected by GMail.

    false
    
    host_blacklist?: string[]

    If host_blacklist is set to an array of strings and the part of the email after the @ symbol matches one of the strings defined in it, the validation fails.

    host_whitelist?: string[]

    If host_whitelist is set to an array of strings and the part of the email after the @ symbol matches none of the strings defined in it, the validation fails.

    ignore_max_length?: boolean

    If ignore_max_length is set to true, the validator will not check for the standard max length of an email.

    false
    
    require_display_name?: boolean

    If require_display_name is set to true, the validator will reject strings without the format Display Name <email-address>.

    false
    
    require_tld?: boolean

    If require_tld is set to false, e-mail addresses without having TLD in their domain will also be matched.

    true