The Ultimate SMTP Configuration Guide
Learn the fundamentals of configuring your applications to send email securely.
Whenever you need your website, WordPress blog, or custom software to send emails (like password resets or receipts), you must follow an SMTP Configuration Guide. Instead of sending emails directly from your web server, which often results in spam placement, you route them through a dedicated email provider using SMTP.
- SMTP Server Hostname: The address of the server (e.g.,
smtp.gmail.com). - SMTP Port: The network port used for connection (usually 587 or 465).
- Username: Typically your full email address.
- Password: Your email password or a generated App Password.
Choosing the Right Port
Understanding Ports 587, 465, and 25 for encrypted transmission.
Port 587 is the modern standard for SMTP email submission. It uses STARTTLS encryption. This means the connection starts as plain text, but immediately upgrades to a secure TLS connection before any passwords are sent.
Always select "TLS" or "STARTTLS" when using port 587.
Port 465 establishes an Implicit SSL connection. The connection is encrypted from the very first byte before any communication happens. It is highly secure and widely supported.
Always select "SSL" when using port 465.
Authentication & App Passwords
Why your standard email password might be rejected by the SMTP server.
- Google: Manage your Google Account > Security > 2-Step Verification > App Passwords. Generate a password for "Mail".
- Microsoft: Security info page > Add sign-in method > App password.
Live SMTP Connection Tester
Having trouble connecting? Use our live tool to open a real TCP connection to your SMTP server and verify that the port is open and responding.
Live Server Greeting (Raw Response):
Diagnostic Summary
Comprehensive SMTP Configuration Guide
Stop struggling with email setups. Follow our definitive SMTP Configuration Guide to connect WordPress, web apps, and scripts to your mail server reliably.
Secure Port Selection
A crucial part of any SMTP Configuration Guide is knowing which port to use. We explain the exact differences between Port 587 (STARTTLS) and Port 465 (SSL).
Bypass 2FA Authentication
Learn how to generate App Passwords. Our SMTP Configuration Guide shows you how to securely authenticate with Google and Microsoft without triggering 2FA blocks.
Live Port Diagnostics
Reading an SMTP Configuration Guide is great, but testing is better. Use our live TCP tool to verify your server is reachable and not blocked by a firewall.
Guaranteed App Delivery
Routing emails through PHP or WordPress directly causes spam issues. Follow this SMTP Configuration Guide to route mail through authenticated provider IPs.
Read Server Greetings
Our integrated tool captures the live 220 banner from your host, providing the final validation step required in a professional SMTP Configuration Guide.