
SMTP configuration ensures that your WordPress website sends emails (contact forms, password resets, notifications, etc.) securely and reliably. The default PHP mail() function can often fail or be marked as spam — SMTP solves this issue.
SMTP (Simple Mail Transfer Protocol) securely sends emails via authentication on a real mail server, improving deliverability.
The easiest way to set up SMTP is through a plugin. Recommended options:
After activation, go to Settings → WP Mail SMTP and enter:
At the bottom of the page, use “Send a Test Email” to confirm that everything is working. If successful, you’ll see the message: “Email was sent successfully.”
Note: Using SMTP ensures your emails are authenticated and reach inboxes instead of spam folders.