Skip to content

A simple CLI tool that reads files and checks to see if emails are valid

License

Notifications You must be signed in to change notification settings

rastalamm/email-verify-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI tool to verify valid email addresses

Follow below steps for this to work
  1. Register for a free account at either/both Never Bounce or MailboxLayer

  2. Create apiKeys.js file in root of project that

    A. Contains your credentials

    B. Exports your credentials according to below format

    module.exports = {
        neverbounce: {
            username: "1234567890",
            key: "abcdefghijklmnopqrstuv"
        },
        mailboxLayer: {
            key: "abcdefghijklmnopqrstuv"
        }
    };
    
  3. Run $ node check.js FILENAME SERVICECODE and wait for the results **

** Things to consider

  • SERVICECODE is mbl for Mailbox Layer or nb for Never Bounce
  • FILENAME should be located in /desktop and include the .csv extension => emailList.csv
  • The output will be written to /desktop as FILENAME+ Results.csv => emailListResults.csv
  • To authenticate with NeverBounce, make sure you include your username and key in the apiKeys.js file. Run $ node authenticate.js
  • Final Example: $ node check.js emailList.csv mbl

About

A simple CLI tool that reads files and checks to see if emails are valid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published