fix(core): update
This commit is contained in:
@@ -16,7 +16,7 @@ export class EmailAddressValidator {
|
||||
public async validate(emailArg: string): Promise<IEmailValidationResult> {
|
||||
await this.fetchDomains();
|
||||
const emailArray = emailArg.split('@');
|
||||
const result = await this.smartdns.getRecord(emailArray[1], 'MX');
|
||||
const result = await this.smartdns.getRecords(emailArray[1], 'MX');
|
||||
// console.log(emailArray);
|
||||
// console.log(this.domainMap[emailArray[1]]);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user