Adds a simple, no-fuss SMTP settings to your WordPress installation that lets you define custom settings, which is especially useful for hosts with no control over the php mail functionality.
If logging is enabled, a new segment in the settings panel will show up with a 30-day overview of recent emails, and will automatically prune older logs. Please see the FAQ if you want a more permanent solution.
For more information, please see the project wiki on GitHub.
Environment and constant overriding (optional)
This plugin will prefer environmental and constant-stored values over the plugin-saved equivalent settings, making it easier to use this plugin via deployment.
These can be either stored in your systems env setup, or in wp-config.php as define( 'SEE_BELOW', 'your_value_here' );.
Accepted Parameters
SMTP_HOST(string) Mail server hostname.SMTP_PORT(integer) Port address (usually 25, 465 or 587).SMTP_AUTH(integer, 1 or 0) Pass below credentials to your mail server.SMTP_USER(string) The mail username for this account.SMTP_PASS(string) The password for the mailer account.SMTP_FROM(string) Enforce all emails come from this email address.SMTP_FROMNAME(string) Enforce all emails to have a certain email name.SMTP_SEC(string) Use a particular email security method (accepts ‘def’ (default), ‘ssl’, ‘tls’ and ‘off’).SMTP_NOVERIFYSSL(boolean) Disable validation of the SMTP server certificate (not recommended).SMTP_LOG(boolean) Controls the logging capability and visibility.SMTP_DISABLE(boolean) Disables the mailer. They will still be logged if enabled, but won’t send out.
It is recommended to store at least SMTP_PASS in your wp-config.php file (with the correct file permissions set). If the openssl extension is available, the plugin will attempt to encrypt the password in the database.
This changelog has been auto-generated from soup-bowl/simple-smtp.\n\n
1.3.4.1
Changed
- Fixes for issues highlighted in #175 by @DanielHudson2 in https://github.com/soup-bowl/simple-smtp/pull/181
Contributors
- @DanielHudson2 made their first contribution in https://github.com/soup-bowl/simple-smtp/pull/181
Full Changelog: https://github.com/soup-bowl/simple-smtp/compare/1.3.4…1.3.4.1
1.3.4
Changed
- Branding changes to comply with WordPress trademark policies.
- Bump the dev-dependencies group with 5 updates by @dependabot[bot] in https://github.com/soup-bowl/wp-simple-smtp/pull/155
- Bump the dev-dependencies group with 1 update by @dependabot[bot] in https://github.com/soup-bowl/wp-simple-smtp/pull/158
- WordPress Coding Standards Linting by @soup-bowl in https://github.com/soup-bowl/wp-simple-smtp/pull/157
- Automatic Changelog by @soup-bowl in https://github.com/soup-bowl/wp-simple-smtp/pull/159
- Pipeline replacement for asset upload by @soup-bowl in https://github.com/soup-bowl/wp-simple-smtp/pull/160
- Bump the dev-dependencies group with 2 updates by @dependabot[bot] in https://github.com/soup-bowl/wp-simple-smtp/pull/163
- Bump phpunit/phpunit from 9.6.18 to 9.6.19 in the dev-dependencies group by @dependabot[bot] in https://github.com/soup-bowl/wp-simple-smtp/pull/167
- Change log expiry via hook & expiry visibility by @soup-bowl in https://github.com/soup-bowl/wp-simple-smtp/pull/165
- Verify post type before executing delete by @soup-bowl in https://github.com/soup-bowl/wp-simple-smtp/pull/169
- Bump vlucas/phpdotenv from 5.6.0 to 5.6.1 in the dev-dependencies group by @dependabot[bot] in https://github.com/soup-bowl/wp-simple-smtp/pull/171
Full Changelog: https://github.com/soup-bowl/wp-simple-smtp/compare/1.3.3…1.3.4
Version 1.3.3
- Verified working with WordPress 6.3.
- Fix: $log_service deprecation notice (#146).
- Added: None encryption setting (#148).
Version 1.3.2.2
- Verified working with WordPress 6.1 and 6.2.
- Fix: PHP warning on the CLI interface (#140).
Notice
You may notice there’s 3 unexpected new files in the wp-simple-smtp directory:
DOCKER_ENVdocker_tagoutput.log
These files were unfortunately introduced during the deployment pipeline, and have subsequently been packaged into the release file. I’ve since added these to the exclusion list, so in later deployments they won’t be present.
Until next release, you can delete these files without detrimental effect. Next update should remove these anyway.
Version 1.3.2.1 (Hotfix)
- Rollback: #116 fix regressed due to relying on a function not found in the general scope.
Version 1.3.2
- Added: Mail view now displays from, cc, bcc & the headers stored when logging is enabled.
- Fix: Infinite loop when a plugin hooks into the mail routine functions and sends an email (#116).
Version 1.3.1.1
- Verified working with WordPress 6.0.
Note: #109 has not reached main yet, so the deployment hasn’t fully succeeded. However this release is purely to update the WordPress state, and is not required for GitHub & manual deployments.
Version 1.3.1
- Added: Glance view on the dashboard to see mail usage (Thanks Kebbet – PR 101, PR 102).
- Fix: Table view appears correctly on mobile (Thanks Kebbet – PR 93).
- Fix: Log view table navigation (Thanks Kebbet – PR 106).
Version 1.3
The minor release version is bumped for capability changes and the log storage goes from indefinite to monthly. A filter is provided to reverse this change, and it does not take effect on new installs, but this will hopefully reduce the contribution to database bloat and data collection that can fall foul of GDPR restrictions (although users switching back to indefinite can benefit from privacy integrations).
- Added: Read logged emails via WP-CLI.
- Added: Status message from testing emails (#81).
- Change: Uninstalling the plugin will remove the lingering logs (#70).
- Change: (For new installs) logs purge automatically after a month (#71).
- Change: Quick config settings now contained within plugin (#78).
- Change: Tightened permissions to the log viewer (#74).
- Fix: Incorrect capability type used by the log viewer. Thanks to Benoît Chantre #74.
Version 1.2.3
- Add: WordPress CLI support. See the FAQ for usage details.
- Change: Password not returned plaintext in settings (#61).
- Fix: Multisite-only config caused an instantiation error (#67).
Version 1.2.2
- Add: Filter for the log entries. Thanks to Kebbet #57.
- Change: Input boxes clearer and more WordPress-standardised (#51, #52).
- Fix: Use network_admin_url instead of crafting a URL. Thanks to Kebbet #53.
- Fix: Notice when saving settings without password being set (#44).
Version 1.2.1
- Change: Multisite listing table improvements. Thanks to Kebbet (#50).
- Fix: Line break issue when viewing emails in the site log. Thanks to Kebbet #47.
- Fix: Missed localisations in the multisite table. Thanks to Kebbet #45.
Version 1.2
- New: Multisite settings for admin visibility and override settings (#6).
- New: Sites in debug mode will show what stage has set the configuration item in the relevant box.
- New: For sites using logging, ‘Erase Personal Data’ will remove requested email address entries from the log (#37).
Version 1.1.2
Confirmed working with WordPress 5.8.
Version 1.1.1
- Verified working with WordPress 5.7.
- Fix: Crash when sending emails with the email system disabled (#35).
Version 1.1
Minor update to include some new features and bug fixes.
Changes
- New: You can now disable emails (#9).
- New: Attachments are now logged, and will be resent if they are still available on the system (#14).
- New: Key change detection when SMTP password encryption is used, to warn user the email dispatch may fail (#28).
- Change: Custom HTML removed in favour of translatable HTML test email. Thanks to Kebbet for implementation (#26).
- Fix: JavaScript error when viewing emails (#24).
Version 1.0.2
More translation fixes provided by @kebbet to display correct translations for the quick config selection tool, and kindly provided a pagination bugfix.
Changes
- Fix: Quick config translations not loading, and missing i18n entities. Thanks Kebbet (#21).
- Fix: Incorrect pagination if the log count was divisible by 5. Thanks Kebbet (#18).
Version 1.0.1
Merges @kebbet PR to fix translations that were bugged out due to a WP slug and textdomain mismatch.
Version 1.0 🎉
Nothing’s changed since it’s been pretty much stable all alpha (#15), but now marks it as stable.
Changes
Version 0.3.6
Minor improvements release, including:
Version 0.3.5
- When openssl is available, the password stored in the database will be encrypted.
- Added a quick configuration option, to guide SMTP setup (less Googling).
This release has been tested and confirmed working with WordPress 5.6.
Version 0.3.4
- Confirmed working with WordPress 5.5.1.
- Added option to disable SSL verification.
- Multiple emails can be used in the test functionality.
Pre-release status has been silently dropped. The implication of pre-release alpha is that this is not ready for production, whereas this has been in-use for quite some time. This is still early days however, so the 0. release number will stay for now.
Version 0.3.3 Alpha
Custom table has been deprecated in favour of storing logs within the posts table as a CPT.
Version 0.3.2 Alpha
Version 0.3.1 Alpha
Version 0.3 Alpha
Version 0.2 Alpha
Initial alpha release
First release of the WP Simple SMTP plugin. Testing of this release is much appreciated.
Features include:
* SMTP configuration handling (overrides mail()).
* Optional SMTP logging (basic functionality).
As with this release and ongoing releases, there are no dashboard ads or promotions.
While Alpha, this is not currently in the WordPress directory. To install, navigate to plugin store, click ‘Upload Plugin’, and upload the compiled ZIP to your site.