The goal of an SMTP test is usually simple: verify host/port/auth, confirm messages are delivered, and validate subject/body rendering and encoding. This guide provides several practical ways to test quickly.
This is great for validating templates, HTML vs plain text, multipart MIME, and encoding issues.
If you run MailHog via Docker Compose, point SMTP to MailHog (usually port 1025) and inspect messages in the MailHog Web UI.
For a minimal connectivity check, you can send a simple message using tools like swaks or manually via openssl s_client (useful for TLS debugging). Use only in test environments.
No. Production deliverability also depends on SPF/DKIM/DMARC, reputation, and recipient policies.