What details should I use for a WordPress SMTP plugin?

If your WordPress site isn't sending emails reliably — or at all — an SMTP plugin is usually the fix. By default, WordPress uses a basic PHP mail function to send emails, which many hosting servers either block or restrict heavily. Configuring an SMTP plugin tells WordPress to send emails through a proper mail server instead, which makes a significant difference to deliverability.

But when you open the plugin settings for the first time, it asks for details that aren't always obvious. Here's exactly what you need and where to find everything.

Why WordPress Needs SMTP

Out of the box, WordPress relies on the server's built-in PHP mail function. Emails sent this way frequently end up in spam folders — or never arrive at all. Mail providers like Gmail, Outlook, and Yahoo have become increasingly strict about where emails originate from, and PHP mail simply doesn't meet their standards.

Routing emails through an SMTP plugin means:

The Details You'll Need

When setting up any SMTP plugin — WP Mail SMTP, FluentSMTP, or similar — you'll be asked for the following:

SMTP Host

This is your outgoing mail server address. It depends entirely on who provides your email:

If you're using your hosting provider's email, the SMTP host is usually listed inside your hosting control panel under the email settings section.

SMTP Port

The right port depends on your encryption type:

Port 587 with TLS is the most widely recommended combination for modern setups.

Encryption Type

Always use encryption. It protects your credentials and improves email deliverability.

SMTP Username

This is typically the full email address you're sending from — for example [email protected] or [email protected].

SMTP Password

The password for that email account. One important note if you're using Gmail — Google requires an App Password rather than your regular account password. You can generate one from your Google account security settings under the two-factor authentication section. Using your regular Gmail password won't work.

From Email Address

The address recipients see in the From field. Use a professional address that matches your domain where possible — it looks more credible and genuinely helps with deliverability compared to a generic Gmail address.

From Name

The display name that appears alongside your email address in the recipient's inbox. Your business name or website name works well here and gives your emails a professional, recognisable appearance.

Always Send a Test Email After Setup

Every decent SMTP plugin includes a test email feature — use it straight after saving your settings. If the test email arrives in your inbox, everything is working correctly. If it doesn't, the most common culprits are the wrong port number, mismatched encryption type, or an incorrect password.

Conclusion

Getting SMTP working in WordPress comes down to having the correct host, port, encryption, and credentials for your email provider. Once it's configured and tested, your WordPress emails become far more reliable — and you stop losing important notifications to spam folders or failed delivery.