How to Completely Uninstall and Remove Easy WP SMTP Data
Content
Many WordPress users rely on the Easy WP SMTP plugin to ensure their website emails are delivered reliably. However, when the time comes to switch to a different solution or simply remove the plugin, a common question arises: how do you ensure all of its data is completely removed from your database?
This guide will walk you through the official method for a complete uninstall and what to do if that process doesn't work as expected.
The Official "Self-Destruct" Method
The intended way to remove all plugin data is built directly into Easy WP SMTP's settings. This feature is designed to clean up after itself, removing all traces from your WordPress database.
- Navigate to Settings → Easy WP SMTP → Additional Settings.
- Locate the "Self Destruct" button.
- Click the button. This should deactivate the plugin and erase all of its settings and logs from your database.
- Finally, go to the Plugins page in your WordPress admin and delete the plugin as you normally would.
What If the "Self-Destruct" Button Fails?
As seen in user reports, the Self-Destruct feature can sometimes fail with an error message like, “it has been impossible to erase the settings. Refresh the page and try again.” If refreshing the page doesn't resolve the issue, you will need to manually remove the data.
Manually Removing Plugin Data from the Database
If the automated method fails, you can manually delete the plugin's data. This involves accessing your WordPress database, typically through a tool like phpMyAdmin provided by your web host. Warning: Always create a full backup of your database before making any manual changes.
Easy WP SMTP stores its settings in the wp_options table. Look for and delete options that start with the prefix swpsmtp_. The exact names can vary, but common ones include:
swpsmtp_options(primary settings)swpsmtp_enc_key(encryption key)swpsmtp_log_size_limit(log settings)- Any other options with the
swpsmtp_prefix.
You may also want to search for and delete any transients related to the plugin, which typically have names like _transient_easy_wp_smtp_... or _transient_timeout_easy_wp_smtp_....
Using a Database Cleanup Plugin
For users who are not comfortable directly editing the database, a third-party plugin like Advanced Database Cleaner can be a safer alternative. These tools can scan your database for orphaned options and data left behind by uninstalled plugins, allowing you to clean them up with a few clicks.
Important Note on Constants
If you previously used another SMTP plugin (like WP Mail SMTP) that recommended defining constants in your wp-config.php file (e.g., WPMS_SMTP_PASS), you should manually review and remove those lines of code. Easy WP SMTP does not use these constants for configuration, and they are unrelated to its uninstallation process. Leaving them in place is harmless but unnecessary.
By following these steps, you can ensure a clean break from the Easy WP SMTP plugin, leaving no residual data behind in your WordPress installation.
Related Support Threads Support
-
Allow editorhttps://wordpress.org/support/topic/allow-editor/
-
Bad update :(https://wordpress.org/support/topic/bad-update-54/
-
Security Request – Store log file in a custom pathhttps://wordpress.org/support/topic/security-request-store-log-file-in-a-custom-path/
-
Option to exclude WooCommerce emailshttps://wordpress.org/support/topic/option-to-exclude-woocommerce-emails/
-
Unsubscribehttps://wordpress.org/support/topic/unsubscribe-64/
-
When unistalling plugin, button Self-destroy does not workhttps://wordpress.org/support/topic/when-unistalling-plugin-button-self-destroy-does-not-work/
-
Disable Email Summaries should be on by defaulthttps://wordpress.org/support/topic/disable-email-summaries-should-be-on-by-default/
-
Deletehttps://wordpress.org/support/topic/delete-21/
-
Disable using a Constanthttps://wordpress.org/support/topic/disable-using-a-constant/
-
Feature request: Change Easy WP SMTP logs locationhttps://wordpress.org/support/topic/feature-request-change-easy-wp-smtp-logs-location/
-
The password in the wp-config.phphttps://wordpress.org/support/topic/the-password-in-the-wp-config-php/
-
Remove ***SPAM*** in subject line?https://wordpress.org/support/topic/remove-spam-in-subject-line/
-
Annoying popup for admins on multisitehttps://wordpress.org/support/topic/annoying-popup-for-admins-on-multisite/
-
Prevent duplicate emailshttps://wordpress.org/support/topic/prevent-duplicate-emails/
-
Slow Self-Destruct transient queries on every WP admin pagehttps://wordpress.org/support/topic/slow-self-destruct-transient-queries-on-every-wp-admin-page/
-
Preconfigure in functions.php or additional plugin?https://wordpress.org/support/topic/preconfigure-in-functions-php-or-additional-plugin/
-
action_scheduler_run_queue cron job runs every minutehttps://wordpress.org/support/topic/action_scheduler_run_queue-cron-job-runs-every-minute/
-
Make admin notice dismissible?https://wordpress.org/support/topic/make-admin-notice-dismissible/
-
Redirecting new users to the WP admin panelhttps://wordpress.org/support/topic/redirecting-new-users-to-the-wp-admin-panel/
-
Disable admin email notificationshttps://wordpress.org/support/topic/disable-admin-email-notifications/
-
Is that disables PHP Mail / WP Mail automatically?https://wordpress.org/support/topic/is-that-disables-php-mail-wp-mail-automatically/
-
Annoying PopUphttps://wordpress.org/support/topic/annoying-popup-16/
-
How to fully uninstall Easy WP SMTPhttps://wordpress.org/support/topic/how-to-fully-uninstall-easy-wp-smtp/
-
How to remove plugins data?https://wordpress.org/support/topic/how-to-remove-plugins-data/