Description
SMTPify does one thing: replace WordPress’s default PHP mail with a reliable SMTP connection — no ads, no upsells, and no cluttering your admin menu.
Just enter your host, port, and credentials. That’s it.
Features:
- Supports SSL/TLS, TLS (STARTTLS), and unencrypted connections.
- Optional SMTP authentication with username and password.
- Override the From address and display name site-wide, with an option to force your identity even when other plugins set their own From values.
- Built-in test email tool to verify your configuration.
- Persistent error log that records mail failures with recipient and timestamp, viewable on the settings page.
What makes SMTPify different:
- All settings can optionally be fixed in code via constants in
wp-config.php, making the plugin maintenance-free after deployment. - No external dependencies beyond PHPMailer, which is already bundled with WordPress.
- Settings page kept out of the navigation sidebar, accessible via the Settings link on the Plugins screen.
- No ads, no upsells.
Configuration
SMTP Server
- SMTP Host (required) — The hostname of your SMTP server (e.g.
smtp.gmail.com,smtp.sendgrid.net). - Encryption — Choose TLS (STARTTLS, recommended with port 587), SSL/TLS (port 465), or None (not recommended).
- SMTP Port — Automatically updated when you change the encryption type; override manually if your provider uses a non-standard port.
- Authentication — Enable to send your username and password to the server. Required by virtually all commercial mail providers.
- Username — Usually your full email address.
- Password — Your SMTP password or app-specific password.
Sender Identity
- From Email Address — The address that appears in the From header. Leave blank to use the WordPress default (
wordpress@yourdomain.com). - From Name — The display name shown to recipients. Leave blank to use
WordPress. - Force Sender Identity — When checked, SMTPify overrides the From address and name set by any other plugin or theme, ensuring all outgoing mail uses your configured identity.
Note: some SMTP providers (including Gmail, Outlook, Yahoo, and iCloud) ignore the From address and replace it with the authenticated account address. This setting works as expected with dedicated mail delivery services (such as SendGrid, Mailgun, and Amazon SES) and self-hosted SMTP servers.
Override Settings via wp-config.php
SMTPify supports fixing settings in code by defining constants in wp-config.php. When one of the following constants is defined, the corresponding setting is used instead of the value stored in the admin form:
SMTPIFY_HOSTSMTPIFY_PORTSMTPIFY_ENCRYPTIONSMTPIFY_AUTHSMTPIFY_USERSMTPIFY_PASSSMTPIFY_FROM_EMAILSMTPIFY_FROM_NAMESMTPIFY_FORCE_FROM
These definitions must be added manually to wp-config.php before the line that says /* That's all, stop editing! Happy publishing. */.
Example:
php
define( 'SMTPIFY_HOST', 'smtp.example.com' );
define( 'SMTPIFY_PORT', 587 );
define( 'SMTPIFY_ENCRYPTION', 'tls' );
define( 'SMTPIFY_AUTH', true );
define( 'SMTPIFY_USER', 'user@example.com' );
define( 'SMTPIFY_PASS', 'your-smtp-password' );
define( 'SMTPIFY_FROM_EMAIL', 'no-reply@example.com' );
define( 'SMTPIFY_FROM_NAME', 'My Site' );
define( 'SMTPIFY_FORCE_FROM', true );
When a setting is overridden this way, the field on the plugin settings page is shown as read-only and displays Overridden by ... in wp-config.php.
Test Email
Use the Send a Test Email section at the bottom of the settings page to send a live test to any address. The result, whether a success message or a detailed error from PHPMailer, is shown immediately on the page.
Mail Error Log
The Mail Error Log section lists the 20 most recent mail failures, each showing the date, recipient, and error message. Use Clear Log to delete all entries.
Using Gmail as Your SMTP Server
Gmail requires an App Password instead of your regular Google account password. App Passwords are available when two-factor authentication (2FA) is enabled, which is now mandatory for most Google accounts.
Step 1 — Create an App Password in Google
- Sign in to your Google account and go to myaccount.google.com/apppasswords.
- Enter a name to identify this password (e.g.
WordPress) and click Create. - Google displays a 16-character password. Copy it now, as it will not be shown again.
You can create as many App Passwords as you like under a single Google account. Creating one per environment (production, staging, development) is recommended: if one is compromised, you can revoke it without affecting the others.
Step 2 — Enter these values on the SMTPify settings page
- SMTP Host:
smtp.gmail.com - Encryption: TLS (STARTTLS)
- SMTP Port:
587 - Authentication: checked
- Username: your full Gmail address (e.g.
youraddress@gmail.com) - Password: the 16-character App Password from Step 1
Step 3 — Send a test email
Use the Send a Test Email section at the bottom of the settings page to confirm that mail is delivered correctly before relying on the configuration in production.
Notes
- Your regular Gmail password will not work; only App Passwords are accepted over SMTP.
- An App Password grants SMTP access to anyone who knows it, regardless of which application or server uses it. Store it securely and revoke it immediately at myaccount.google.com/apppasswords if you suspect it has been exposed.
Screenshots
Installation
- Search for SMTPify in the Plugins Add New screen in WordPress and click Install Now.
- Activate the plugin through the Plugins screen in WordPress.
- Click the Settings link on the Plugins screen to configure your SMTP credentials.
- Send a test email to confirm delivery.
FAQ
-
Where is the settings page?
-
After activation, click the Settings link next to SMTPify on the Plugins screen, or navigate directly to WP Admin admin.php?page=smtpify. The page does not appear in the Settings sidebar menu by design.
-
Can I fix settings in code?
-
Yes. Define one or more
SMTPIFY_*constants inwp-config.phpto make individual settings take effect at load time instead of relying on the saved option values.For example:
php define( 'SMTPIFY_HOST', 'smtp.example.com' ); define( 'SMTPIFY_FROM_EMAIL', 'no-reply@example.com' );Fields overridden by
wp-config.phpare displayed as read-only on the settings page, and the admin UI shows which constant is controlling the value.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“SMTPify” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “SMTPify” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- SMTP configuration with TLS, SSL, and unencrypted modes.
- Authentication toggle with username and password fields.
- Sender identity override with optional Force From mode.
- Built-in test email tool.
- Mail error log (up to 20 entries) viewable on the settings page.
- Transient-based admin notices.
- PHPCS and WordPress Coding Standards compliant.



