Skip to main content

UNKNOWN

Project description

Check if the given email address is valid or not using nslookup.EmailValidator
==============================================
&copy; 2017 ATEMON Technology Consultants LLP<br>
License: MIT License (modified)<br>
Website: http://www.atemon.com</a><br>
Author: Varghese Chacko <varghese@atemon.com>

Check if the given email address is valid or not using nslookup

We can get a brief idea of if email address is valid or not using regular expressions. Currently with thousands of new TLDs its bit too hard. This tool uses nslookup command to check if a mail exchange server is configured for a domain. This could be the best level of email validation other than actually sending (unsolicited) mail.

You need the tool ```nslookup``` installed on the machine running this tool.

To install nslookup, run the command

#### CentOS/RHEL
yum install bind-utils

#### Ubuntu/Debian

sudo apt-get update
sudo apt-get install dnsutils

#### Install this from PIP

pip install Atemon-EmailValidator

#### Usage

from atemon.EmailValidator import EmailValidator
v = EmailValidator()
v.is_valid('something@gmail.com')

Happy coding :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Atemon-EmailValidator, version 0.1.2.4
Filename, size File type Python version Upload date Hashes
Filename, size Atemon-EmailValidator-0.1.2.4.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page