fakemailfilter
validates email if it exists before sending
Last updated 2 years ago by erroratline37 .
ISC · Original npm · Tarball · package.json
$ cnpm install fakemailfilter 
SYNC missed versions from official npm registry.

Fake Mail Filter CI status Coverage Status

FakeEmailFilter is a Nodejs library checks that particular email exists or not before sending the email.

Installation

Requirements

  • Linux/Windows/Mac
  • Node > 7.4.x

$ npm install fakemailfilter --save

Usage

"use strict";

const fmf = require("./fakeEmailFilter")

const start = async ()=>{
    let fromEmail = "amulyakashyap09@gmail.com";
    let toEmail = "amulya.ratan@bookmyshow.com";
    let result = await fmf.checkIfEmailIsValid(fromEmail, toEmail)
    console.log("Result : ", result)    
}

start();

Sample Output

$ This email does not exists

{
    "email": "amulyadoesnotexistsinemail@gmail.com", 
    "status": false, 
    "error": "this email does not exists"
}

$ This email does not exists

{
    "email": "amulyakashyap09@gmail.com", 
    "status": true, 
    "error": null
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |