curl -X GET 'https://apps.emaillistverify.com/api/verifyEmail?secret=YOUR_API_KEY&[email protected]'
/* ------------------------------
Response examples:
ok The supplied email address has passed all verification tests
failed The supplied email address has failed one or more tests
unknown The supplied email address can not be accurately tested
incorrect No email address was provided in the request or it contains a syntax error
key_not_valid No api key was provided in the request or it was invalid
missing parameters There are no validations remaining to complete this attempt
------------------------------ */
$email = "[email protected]";
$key = "YOUR_API_KEY";
$url = "https://apps.emaillistverify.com/api/verifyEmail?secret=".$key."&email=".$email;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );
$response = curl_exec($ch);
echo $response;
curl_close($ch);
# Add this line to your application's Gemfile:
# gem 'email_list_verify'
#
# then execute:
# $ bundle
#
# or install it yourself:
# $ gem install email_list_verify
require 'email_list_verify'
api_key = 'YOUR_API_KEY'
client = EmailListVerify.new(api_key)
client.one_by_one('[email protected]')
from emailverify import EmailListVerifyOne
E = EmailListVerifyOne('YOUR_API_KEY', '[email protected]')
result = E.control()
print result
static async Task VerifyOne() {
var apiUrl = "https://apps.emaillistverify.com/api/verifyEmail";
var apiKey = "YOUR_API_KEY";
var email = "[email protected]";
var requestUrl = $"{apiUrl}?secret={apiKey}&email={email}";
var request = WebRequest.Create(requestUrl);
var response = await request.GetResponseAsync();
string emailStatus;
using (var responseStream = response.GetResponseStream()) {
var responseReader = new StreamReader(responseStream);
emailStatus = responseReader.ReadToEnd();
}
Console.WriteLine(emailStatus);
}