mail-worker
v1.0.0
Published
a mail existence checker in node.js
Downloads
3
Maintainers
Readme
mail-worker
email existence checker in node.js
This is a package about email in node.js
npm install --save mail-worker
let MailWorker = require("./index");
let mailWorker = new MailWorker({
port:3000,
timeout:4000,
})
mailWorker.isEmailFormat("[email protected]"); //return true || false
mailWorker.getDomainName("[email protected]"); // return domain name
mailWorker.exists("[email protected]",{
sender:"YayPhat"
})
.then(result=>console.log(result))
.catch(e=>console.log(e))