An e-mail verification tool including format verification, domain validation and MX recording control.
- Email Format Validation: Validates email addresses against standard format rules
- Domain Validation: Verifies if the email domain is active and accessible
- MX Record Checking: Retrieves and displays MX (Mail Exchange) records for the email domain
- CSV Export: Automatically exports validation results to a CSV file with timestamp
- Ensure you have Dart SDK installed (version ^3.6.0)
- Clone the repository:
git clone https://github.com/ibrahimsezer/email-validator.git
- Navigate to the project directory:
cd email-validator
- Install dependencies:
dart pub get
Run the application using:
dart run
The program will:
- Prompt you to enter an email address
- Validate the email format
- Check domain validity
- Retrieve MX records
- Save results to a CSV file
- Allow you to check multiple emails in one session
- http: ^1.3.0 - For making HTTP requests
- csv: ^6.0.0 - For CSV file operations
- intl: ^0.20.2 - For date formatting
Run tests using:
dart test
Contributions are welcome! Please feel free to submit a Pull Request.
👤 Ibrahim Sezer
- GitHub: @ibrahimsezer
- Portfolio: ibrahimsezer.github.io