Test SMTP
Test kết nối SMTP, mode TLS, xác thực và tuỳ chọn gửi email mẫu — debug mail relay, Gmail App Password, transactional service.
Test SMTP host, TLS mode, authentication, and optionally submit a sample email message.
SMTP Test Tool is for checking a real mail submission setup before you blame your application code. It connects to the SMTP server, applies the selected TLS mode, verifies authentication when credentials are entered, and can send a small sample email only when you enable that option.
Enter the SMTP host, port, username, password, and TLS mode. Port 465 normally uses direct TLS. Port 587 usually uses STARTTLS. Auto mode tries to choose a sensible setup based on the port.
If you are debugging a Laravel app, paste the MAIL_* values into the Laravel .env tab. The tool fills the matching fields and can generate the updated .env block back from the current settings.
By default, the test verifies the connection and SMTP configuration without submitting a message. Turn on Send sample email only when you want to confirm the server accepts mail from the From address to the To address you enter.
Keep certificate verification on for normal testing. Turning it off can help diagnose a self-signed or misconfigured certificate, but it should not be treated as a production fix.
CLI equivalent
openssl s_client -connect mail.example.com:25 -starttls smtpNetwork checks run from the app server, so results reflect what is reachable from that public environment. Localhost, private IPs, and internal-only targets are blocked.
Only when Send sample email is enabled. Otherwise it verifies connection, TLS, and authentication without sending a message.
For application email, 587 with STARTTLS or 465 with TLS is usually more relevant than port 25. Port 25 is often blocked or reserved for server-to-server delivery.
Many providers require an app password, enabled SMTP access, the correct encryption mode, or a verified sender address.
No. It is just a convenience for Laravel projects. The App settings tab works for any SMTP server.