RepositoryPythonUSHoa Kỳ
kakshay21

kakshay21/verify_email

verify-email can verify any email address by efficiently checking the domain name and pinging the handler to verify its existence.

138sao
32fork
8issue
4lượt xem

📧 Xác minh email thật bằng kết nối SMTP — không chỉ kiểm tra cú pháp

Chỉ cần một email, thư viện sẽ kiểm tra cú pháp, tra cứu bản ghi MX và kết nối trực tiếp tới handler để xác nhận địa chỉ tồn tại thật sự.

verify-email là một thư viện Python dùng để xác minh một email (hoặc danh sách email) có tồn tại thực sự hay không. Thay vì chỉ dừng ở kiểm tra định dạng, thư viện sẽ truy xuất bản ghi MX của tên miền và gửi lệnh RCPT TO tới máy chủ email để kiểm tra xem handler có chấp nhận email đó hay không.

✨ Điểm nổi bật

  • Kiểm tra cú pháp: đảm bảo email tuân thủ định dạng chuẩn trước khi xác minh.
  • Xác minh bản ghi MX: tra cứu bản ghi Mail Exchange của tên miền để tìm máy chủ nhận thư.
  • Xác minh handler: kết nối SMTP tới máy chủ và kiểm tra email qua lệnh RCPT TO.
  • Cache tra cứu tên miền: lưu kết quả tra cứu MX để tránh lặp lại và tăng tốc độ.
  • Hỗ trợ asyncio: cho phép xác minh đồng thời nhiều email bằng lập trình bất đồng bộ.
  • Hỗ trợ đa luồng: dùng fast_verify.py để xác minh song song qua đa tiến trình.
  • Chế độ debug: trả về lý do thất bại khi xác minh không thành công.

💡 Vì sao đáng chú ý

Khác với các công cụ chỉ kiểm tra định dạng email, verify-email thực sự kết nối tới máy chủ email để xác nhận địa chỉ tồn tại. Điều này giúp giảm đáng kể lỗi do địa chỉ không tồn tại, rất hữu ích khi xây dựng hệ thống đăng ký người dùng hoặc gửi email tự động.


#Python #EmailVerification #SMTP #MXRecord #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
reacherhq/check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

10.6k
Nov 26, 2026
RepositoryPHP
FGRibreau/mailchecker

:mailbox: Cross-language temporary (disposable/throwaway) email detection library. Covers 55 734+ fake email providers.

1.9k
Nov 24, 2026
RepositoryRuby
truemail-rb/truemail

🚀 Configurable framework agnostic plain Ruby 📨 email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists.

1.3k
Oct 16, 2026
RepositoryPHP
jrean/laravel-user-verification

PHP package built for Laravel to easily handle a user email verification and validate the email

861
Apr 28, 2026
RepositoryPHP
daveearley/Email-Validation-Tool

An easy to use, accurate-ish & extensible email validation library for PHP 7+ 📧

280
Mar 24, 2022
RepositoryGo
truemail-rb/truemail-go

🚀 Configurable Golang 📨 email validator/verifier. Verify email via Regex, DNS, SMTP and even more. Be sure that email address valid and exists.

137
Aug 30, 2024
Repository
centminmod/validate-emails

Self-hosted email verification script to clean up bad invalid email address lists. Supports various commercial email verification provider APIs all in one script

103
Jun 24, 2026
RepositoryPHP
amieiro/disposable-email-domains

Disposable email domain lists, used in disposable email services, generated every quarter of an hour, in txt and JSON format.

90
Nov 18, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026