Amazing-Python-Scripts
Amazing-Python-Scripts copied to clipboard
Email validation script using SMTP library and dnspython
Aim
- A script that will validate whether an email is valid or not.
Details
- It will use dnspython and smtp(part of standard library) libraries of python.
- It will first check the syntax of the Email id.
- if it passes the first check Then check for the MX records of the domain of the email id (like gmail.com) and see whether it is able to send mails or not.
- if it passes the second check Then it will use the smtp library to check whether the emails can indeed be sent to it or not. It won't send any message or notify the user about anything when this step executes. SMTP commands issued are: HELO, MAIL FROM and RCPT TO.
Please assign this to me for SWOC.
thank you.
Please assign this to me for SWOC.
thank you.
Sure Go Ahead @Rahul555-droid
sorry @avinashkranjan for the delay had some stuff. Will write it in a day or so!
I am interested in this project, would love to work on it. Can you assign it to me? (gssoc participant)
Go Ahead @saaalik
I have completed the script, documenting what I did, along with requirements and test cases. Will make a PR asap.