-
Register for a free account at either/both Never Bounce or MailboxLayer
-
Create
apiKeys.js
file in root of project thatA. Contains your credentials
B. Exports your credentials according to below format
module.exports = { neverbounce: { username: "1234567890", key: "abcdefghijklmnopqrstuv" }, mailboxLayer: { key: "abcdefghijklmnopqrstuv" } };
-
Run
$ node check.js FILENAME SERVICECODE
and wait for the results **
** Things to consider
- SERVICECODE is
mbl
for Mailbox Layer ornb
for Never Bounce - FILENAME should be located in
/desktop
and include the .csv extension =>emailList.csv
- The output will be written to
/desktop
asFILENAME
+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