Hunt down every disposable email. Probabily the most reliable email check which can detect disposable email and trash them out of your marketing database, So you don't end up paying for un-neccesary junk.
Check with the list of more than 38,000 temp email provider domains for the validation. We update the list frequently, Help us getting stronger. Contribute to our GitHub repository to keep the list up-to-date.
npm i rendrr-disposable-email-list
Import the module to the file
var disposableEmail = require('rendrr-disposable-email-list');
var result = disposableEmail.isDisposable('dummy@temp-email.tld');
or you can use domain name also
var result = disposableEmail.isDisposable('temp-email.tld');
{
isEmail: true, //or false
isDomain: false, //or true
isDisposable: false //or true
isWebmail: false //or true
}
You can check the given string is a valid email with ignoring other test cases. you can provide either domain name or email address to validate
let res = this.isValidEmail("dummy@temp-email.tld");
{ isEmail: true }
{ isEmail: false }
You can check the given string is a valid domain with validating whether its a valid email or not. you can provide either domain name or email address to validate
let res = this.isValidDomain("dummy@temp-email.tld");
// or
let res = this.isValidDomain("temp-email.tld");
{ isEmail: true, isDomain: true }
You can check the given string is a valid domain with validating whether its a valid email and webmail or not. you can provide either domain name or email address to validate.
let res = this.isValidWebmail("dummy@temp-email.tld");
// or
let res = this.isValidWebmail("temp-email.tld");
{ isEmail: true, isDomain: true, isWebmail: true }
#License
Copyright 2019 Rendrr Devign Labs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.