kickboxio / kickbox-node Goto Github PK
View Code? Open in Web Editor NEWEmail Address Verification for Node.js
Home Page: https://kickbox.com
Email Address Verification for Node.js
Home Page: https://kickbox.com
Hi,
There are cases (for example: a (micro)service which provides access to different local clients/keys into your service) in which the API key may not be known from the beginning and is taken after querying a database. In this case, it would be more convenient if the key was passed later as an option (with timeout) during the call and not on declaration through require
.
Tia
The API transforms the original requested email: caps, dots (periods) get removed for some domains.. I understand why as some domains don't care. However, this doesn't seem proper of kickbox's API to do such altering when it's unsolicited.
If the email is going to be transformed via kickbox, return a reference to the original/unaltered email address.
I cannot stress the importance of this enough.
Thanks
A malicious user can trivially insert parameters into the query string.
Hi i don't know where i should post this issue but i think domains: emailna.co and xvx.us is disposable.
Is this possible?
kickbox.verify(["[email protected]", "[email protected]"], function (err, response) { console.log(response.body); });
Hi,
Please, at least, add Disposable Email Check
endpoint as an option.
Tia
Hi, Team
i am new to Kickbox.io in Node.js
i am trying to validate the email address with is deliverable or un-deliverable. but when i give the wrong email address it showing as deliverable ([email protected]) there is no email address like but it showing as deliverable.
kindly find the Code attached with this which we have used.
kindly find the attached file for the test result.
kindly check and let us know if we miss anything.
// lib/kickbox/http_client/error_handler.js line 21
if (type.indexOf('json') != -1 && typeof body == 'object') {
will throw TypeError: Cannot read property 'indexOf' of undefined
pretty ofter for a few days!
Same here
// lib/kickbox/http_client/response_handler.js line 11
if (type.indexOf('json') != -1 && typeof(body) != 'object') {
When using the sanbox API key and test email for insufficient balance a 403 is returned as expected from the API, but then any following email always results in an HTTP 500 but ones after the 500 then result in normal operation.
var emails = [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
];
kickbox.verify(emails[index_checked], function (err,response) {
if(err){
console.log("error caught");
}
if (response && response.body) {
console.log("we have a response and thus no error");
console.log(response.body);
}
});
Any email at the end of the array will result in an error 500, so "[email protected]" will be the error 500 in this example.
Is this supposed to happen?
I was expecting something like it would allow all requests through even if the prior resulted in a 4xx. I understand failing the kickbox npm client if there was an actual 5xx but this seems like the http client behavior is altered to disallow further requests after the 403 (and really, do a "throw err" instead of what I did here in this example.).. I just don't think semantically this is right.
Can you look into this?
Thanks
how to create a API key? and where to get it?
The request
library is no longer supported and depends on unsupported libraries like 'har-validator'.
This dependency should be replaced with another HTTP request library (or just use "https" built into NodeJS) so we don't have ANY dependencies (BEST IDEA!)
The timeout
option is ignored and the request doesn't return when expected.
The default timeout is 6 seconds, but I'm seeing requests that their response was returned after 60 seconds.
There are no tests in this library and I don't think that the timeout
option works as expected.
KickBox v2.0.4
NodeJS v10.22.0
Mac OS Catalina v10.15.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.