To build the email validation code, I used Python libraries. The code first checks if the email matches a standard format using regular expressions. Then, it extracts the domain from the email address and uses DNS resolution to find the Mail Exchanger (MX) records associated with that domain.
After obtaining the MX records, the code establishes an SMTP connection to the appropriate server. It follows the SMTP protocol steps, such as introducing itself, simulating sending an email, and checking the response code when attempting to verify the email address.
Throughout the development process, some challenges that may arise include understanding and implementing the SMTP protocol correctly, handling different email server configurations, and managing potential errors like DNS resolution failures or SMTP connection issues.
Built With
- google-colab
- python
- smtp
- streamlit

Log in or sign up for Devpost to join the conversation.