Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailchecker library

Python library provides email checking features based on telnet methods

Provided methods

  • check MX records
from mailchecker import get_mx

mail = 'sample@example.com'
print get_mx(mail)
  • check open ports of MX server
from mailchecker import get_open_email_ports
# default checked ports: 25, 465, 143, 993

mail = 'sample@example.com'
print get_open_email_ports(mail)
  • check if email is correct
from mailchecker import check_if_mail_is_correct

mail_to_check = 'sample@example.com'
my_reference_email = 'reference@example.com'
print check_if_mail_is_correct(mail_to_check, my_reference_email)
  • complex mail check
from mailchecker import full_email_check
 
mail_to_check = 'sample@example.com'
my_reference_email = 'reference@example.com'
print full_email_check(mail_to_check, my_reference_email)

Installation

git clone https://github.com/inthuriel/mailchecker.git
pip install -e ./mailchecker

Licence

Distributed under GNU Library or Lesser General Public License (LGPL).

About

Python library provides email checking feature based on telnet

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages