UNPKG

deep-email-validator-extended

Version:

Validates emails based on regex, common typos, disposable email blacklists, DNS records and SMTP server response.

4 lines (3 loc) 219 B
import dns from 'dns'; export declare const getMx: (domain: string, timeout?: number) => Promise<dns.MxRecord[]>; export declare const getBestMx: (domain: string, timeout?: number) => Promise<dns.MxRecord | undefined>;