Projelere Dön
Smtp Tester
basic php smtp tester
📧 SMTP Tester
A modern, multilingual SMTP server testing tool with detailed debug output.
🔗 Live Demo
Try it now → https://www.bugra.work/smtp-tester
✨ Features
- 🌍 21 Languages - Support for the world's most spoken languages with automatic browser detection
- 🔍 Detailed Debug Output - Terminal-style step-by-step SMTP communication log
- 🔒 Secure Connections - TLS/SSL encryption support
- 🎨 GitHub-Style UI - Modern dark theme inspired by GitHub's design
- 📱 Responsive - Works on desktop and mobile devices
- ⚡ Real-time - AJAX-based instant results
🚀 Quick Start
Requirements
- PHP 7.4 or higher
- Web server (Apache, Nginx, etc.)
socketsPHP extension (usually enabled by default)
Installation
- Clone the repository:
git clone https://github.com/bugraskl/smtp-tester.git
- Move to your web server directory:
cp -r smtp-tester /var/www/html/
# or for XAMPP on Windows:
# copy smtp-tester C:\xampp\htdocs\
- Open in your browser:
http://localhost/smtp-tester/
📋 Usage
-
Enter your SMTP server details:
- Host: Your SMTP server address (e.g.,
smtp.gmail.com) - Port: SMTP port (25, 465, or 587)
- Encryption: None, TLS, or SSL
- Username/Password: Optional authentication credentials
- Host: Your SMTP server address (e.g.,
-
Click Test SMTP Connection
-
View the detailed debug output showing each step of the SMTP handshake
🌐 Supported Languages
| Language | Code | Language | Code | |
|---|---|---|---|---|
| 🇬🇧 English | en | 🇻🇳 Tiếng Việt | vi | |
| 🇨🇳 中文 | zh | 🇹🇷 Türkçe | tr | |
| 🇮🇳 हिन्दी | hi | 🇵🇱 Polski | pl | |
| 🇪🇸 Español | es | 🇺🇦 Українська | uk | |
| 🇸🇦 العربية | ar | 🇳🇱 Nederlands | nl | |
| 🇧🇩 বাংলা | bn | 🇮🇩 Bahasa Indonesia | id | |
| 🇧🇷 Português | pt | 🇹🇭 ไทย | th | |
| 🇷🇺 Русский | ru | 🇮🇷 فارسی | fa | |
| 🇯🇵 日本語 | ja | |||
| 🇩🇪 Deutsch | de | |||
| 🇫🇷 Français | fr | |||
| 🇰🇷 한국어 | ko | |||
| 🇮🇹 Italiano | it |
📁 Project Structure
smtp-tester/
├── index.php # Main application page
├── README.md # This file
├── api/
│ └── test.php # SMTP test API endpoint
├── assets/
│ ├── css/
│ │ └── style.css # GitHub-style dark theme
│ └── js/
│ └── app.js # Frontend JavaScript
├── includes/
│ ├── config.php # Configuration
│ ├── functions.php # Helper functions
│ └── SmtpTester.php # SMTP testing class
└── languages/
├── en.php # English
├── tr.php # Turkish
└── ... # Other languages
🔧 Common SMTP Servers
| Provider | Host | Port | Encryption |
|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | TLS |
| Outlook | smtp.outlook.com | 587 | TLS |
| Yahoo | smtp.mail.yahoo.com | 587 | TLS |
| Yandex | smtp.yandex.com | 465 | SSL |
⚠️ Note: For Gmail, you need to use an App Password if 2FA is enabled.
🤝 Contributing
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Adding a New Language
- Copy
languages/en.phptolanguages/xx.php(wherexxis the language code) - Translate all strings in the new file
- Add the language to
$SUPPORTED_LANGUAGESinincludes/config.php
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- UI design inspired by GitHub
- Icons from native emoji set
Made with ❤️ by developers, for developers
Teknolojiler
PHP