- Syntax checker
- Domain verification
- MX (Mail Exchange records) verification
- Caching domain lookups to improve performance
To use this project, start by cloning the repository:
git clone https://github.com/mdobydullah/real-email-verify.gitcd into the project, and make a copy of .env.example to .env
cp .env.example .envYou can run the application stack (Flask application and Redis) with Docker, respectively docker-compose.
docker-compose up -d --build
Now visit the URL:
http://localhost:5000/You'll see an input field. After submitting an email address, it'll show response like:
docker-compose down -v
http://localhost:5000/api/verify?[email protected]Response:
{
"success": true,
"send_from": "[email protected]",
"send_to": "[email protected]",
"domain": "obydul.me",
"mx_record": "alt1.aspmx.l.google.com.",
"mx_cached": true,
"response_code": 250,
"message": "b'2.1.5 OK my13-20020a17090b4c8d00b00218a592ceacsi7016111pjb.107 - gsmtp'"
}from=EMAIL_ADDESS
email=EMAIL_ADDESS
# example
http://localhost:5000/api/verify?[email protected]&[email protected]This project is licensed under the terms of the MIT license.

