This project is an open-source PHP tool to test various SMTP configurations using PHPMailer. It allows manual or automated testing of SMTP settings to identify working combinations.
- Test SMTP settings manually
- Automatically try common port + encryption combinations
- Visual feedback for successful/failed attempts
- Simple and user-friendly web interface
-
Clone the repository:
git clone https://github.com/grkmsari/mail-config-finder.git cd smtp-tester
-
Install Composer dependencies:
composer install
-
Start the local server:
php -S localhost:8000 -t public/
-
Open in your browser:
http://localhost:8000
Enter SMTP details (host, port, username, password, encryption, etc.) manually and test the connection.
Automatically tests common combinations of ports and encryption types:
- Ports:
25
,465
,587
,2525
- Encryption:
ssl
,tls
,none
mail-config-finder/
βββ public/
β βββ index.html
β βββ SmtpTester.php
βββ composer.json
βββ README.md