Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

validate-email-address

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validate-email-address

Verify if an email address is valid and really exists.

  • 1
  • PyPI
  • Socket score

Maintainers
1

|build|

====================== validate-email-address

validate-email-address is a package for Python that check if an email is valid, properly formatted and really exists.

INSTALLATION

First, you must do::

pip install validate-email-address

Extra

For check the domain mx and verify email exits you must have the pyDNS package installed::

pip install pyDNS

USAGE

Basic usage::

>>> from validate_email_address import validate_email
>>> validate_email('example@example.com')
True

Checking domain has SMTP Server

Check if the host has SMTP Server::

>>> from validate_email_address import validate_email
>>> validate_email('example@sharklasers.com', check_mx=True)
True

Verify email exists

Check if the host has SMTP Server and the email really exists::

>>> from validate_email_address import validate_email
>>> validate_email('example@sharklasers.com', verify=True)
True

.. |build| image:: https://travis-ci.org/heropunch/validate-email-address.svg :target: https://travis-ci.org/heropunch/validate-email-address

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc