• Resolved figureitout10

    (@figureitout10)


    If the app is uninstalled from the plugins page, are all of the credentials that were entered when using “Other” for the mail settings deleted from the database too? I noticed that when I switched to gmail they were still stored when I toggled back to “Other” so unclear if uninstalling the plugin completely and doing a fresh install deletes any old credentials.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support David

    (@dpinson)

    Hi there @figureitout10,

    When you remove the plugin, the configuration remains. However, you can set remove all data when you uninstall the plugin.

    To do so, go to WP Mail SMTP > Settings > Misc and check the box that says “Remove ALL WP Mail SMTP data upon plugin deletion. All settings will be unrecoverable.” Save the settings and the next time you uninstall WP Mail SMTP, it will also remove all of the data it stored.

    If you’re just trying to delete old credentials, you can remove them from the mailer settings and save the page. Basically, just save it with empty settings.

    I hope that helps!

    Thread Starter figureitout10

    (@figureitout10)

    Thanks for the reply David. I had already deleted the plugin before your answer was posted. If I reinstall it, will that clear the old credentials from the first install or do I need to manually delete from the DB? If so, do you have directions on where to find where they are stored?

    Thanks.

    Plugin Support David

    (@dpinson)

    Hi @figureitout10,

    If you reinstall the plugin, it should show the previous credentials. Unless the “Remove ALL WP Mail SMTP data” option is enabled, the data should still be in your WordPress database.

    We store data in custom tables, but the easiest way to remove the data would be to install the plugin again, enable the option, then uninstall it again.

    I hope that helps!

    It does not delete all the data. I deleted the plugin even with the option checked to delete all data from the database. I re-installed the plugin and the client ID and client secret key were still in the fields in the plugin. Why is this even a thing?

    Plugin Author Jared Atchison

    (@jaredatch)

    Enabling the “Remove ALL data” option in the plugin settings prior to uninstallation definitely should remove _everything_ from the database.

    Sounds like that’s not the case for some reason – sorry about that!

    We’ll be investigating this internally early next week to see if we can replicate the issue and if so get that fixed.

    This is a long shot, but worth mentioning – settings can be persistent regardless of uninstallation if they are set inside the site’s wp-config.php (see https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/). So I’d also double check there’s nothing in that file that contains WPMS_GMAIL_.

    Thanks!

    @jaredatch

    I have a support thread here regarding the issue and no data from the plugin is in the wp-config file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘is everything deleted from database when app is deleted?’ is closed to new replies.