• Resolved cag8f

    (@cag8f)


    Hello. I am having an issue with the SMTP username and password fields in your plugin–in “SMTP Settings”–>”SMTP Options.” For some reason, the username and password are automatically populated, with what looks to be my personal Gmail account credentials (screenshot). The issue is that I cannot seem to remove this information from those fields. Even if I delete them, then ‘Save,’ upon refresh, the fields will be re-populated with the same information.

    I have tried nearly every permutation of “Use this settings to send mail,” “Use WordPress general settings to send mail,” “Send emails of this plugin via SMTP,” “Use the PHP mail() function to send emails,” and “Save Changes.” No matter what I do, if “Use this settings to send mail” is enabled, those fields are auto-populated with my Google account information.

    I am using the latest version of the plugin (1.10.7.5).

    Thanks in advance.

Viewing 15 replies - 16 through 30 (of 30 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    Not sure I would need time (sorry but I have no time) to test it.

    Any way: those data is saved in your WordPress so if you have filled it, it will be shown if you login there.

    Thread Starter cag8f

    (@cag8f)

    >> those data is saved in your WordPress so if you have filled it, it will be shown if you login there.

    I’m not sure what you mean by this. Are you saying the contents of those fields are stored within WordPress for this site, and will be auto-filled any time any user logs in to WordPress? If so, that is quite different from what you were indicating earlier.

    • This reply was modified 7 years, 4 months ago by cag8f.
    Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    Sorry but I have no much time to explain you.

    I will try to do it:

    • Data is saved in options table inside WordPress
    • Some browsers also save this data in their auto fill forms
    • This can be confusing but this is the way it works as many other forms into a WordPress dashboard
    • Problem here is that username, password… are also used in other different forms so the problems starts here

    As I will remove it soon, I won’t give much support about it.

    I prefer to use my efforts in improve other things from the plugin.

    Thread Starter cag8f

    (@cag8f)

    >> As I will remove it soon, I won’t give much support about it.

    I understand that, and that is fair. But currently it seems as if my personal Google credentials are available for any WordPress user to see. I’m just trying to be sure that when you ‘remove the feature,’ those credentials will also be removed.

    >> Data is saved in options table inside WordPress

    So when you ‘remove the feature’ from your plugin, will you also ensure the username/password combination stored in the options table is also removed? That is what I am concerned about. I can’t control who has access to this table in the future.

    Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    You are misunderstanding:

    • Noone can see your Google credentials stored if they log in… I cannot exlain exactly the way it works with no time. But no worries.
    • All this data will be removed from option table
    Thread Starter cag8f

    (@cag8f)

    >> Noone can see your Google credentials stored if they log in…

    Right. But if the data is in the database, people with admin access can see it, correct? In the future, I cannot control who has admin access to this database.

    >> All this data will be removed from option table

    This is re-assuring, thank you.

    Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    All data stored in wp_options would be accesible for every WordPress administrator and for any who has an user in the database with the correct GRANT.

    But this is the same here and in any other technology which use database.

    Please help us with a little donation or a review… we cannot give good support if almost none help us.

    Thread Starter cag8f

    (@cag8f)

    >> All data stored in wp_options would be accesible for every WordPress administrator and for any who has an user in the database with the correct GRANT.
    But this is the same here and in any other technology which use database.

    Right O, I get all that. But in this case, is there any way for me to delete that information from the database, other than using a direct database edit tool (e.g phpmyadmin)?

    Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    No, you would need to code some PHP script.

    phpMyAdmin would be easier.

    Thread Starter cag8f

    (@cag8f)

    Gotcha.

    I know you say you will remove the feature, and remove the info from the database. If you do that, indeed the issue will be moot. And I know I should be more careful with the data I enter into WordPress. But at the same time, it seems to me a little careless for your plugin to easily save sensitive data like this to the database via the WP back-end, but offer no method of expunging it from the database via the WP back-end. Maybe next time offer a mechanism in the WP back-end to remove that info easily from the database, just like Chrome offers a feature to delete form auto-fill data.

    It’s just constructive criticism–I’m not sure how to say it without sounding mean or upset. And maybe I’m still misunderstanding something.

    Plugin Author Javier Carazo

    (@carazo)

    @cag8f,

    This plugin do the same than any other plugin that manage SMTP credentials.

    I think you don’t know how all this kind of issues works… if we encode it for example, we also need to include the key to encode… so it is easy to discover.

    I don’t know how many plugins or systems have you developed but yes, this is the way to do it.

    If you know something better, tell every plugin that save this kind of data in database and needs to send it later.

    Thread Starter cag8f

    (@cag8f)

    OK.

    >> If you know something better, tell every plugin that save this kind of data in database and needs to send it later.

    I’m not saying don’t save it to the database. I’m saying make it easier for us to delete it from the database. As it stands, I can save critical data just by pressing ‘Save’ in your plugin. But to remove it, I have to write PHP code, or dive into PHPMyAdmin.

    I fully acquiesce though that this is a bit out of my area of expertise. If this is standard practice, then I guess it’s lesson learned on my end.

    edit: I’m really not trying to argue with you, or antagonize you. I’m sorry if it’s coming across like that. I’m not sure how to discuss this without giving off that vibe.

    • This reply was modified 7 years, 4 months ago by cag8f.
    Plugin Author Javier Carazo

    (@carazo)

    I have to check but if you deactivate from plugin, I guess it deletes it.

    graphmaster

    (@graphmaster)

    I am unable to edit the password at all. I have tried three different browsers, turned off auto fill and cleared the cache. How can I change the password if it is grayed out and not editable??

    I found the answer here. I needed to edit the config file
    https://wpforms.com/docs/how-to-set-up-smtp-using-the-wp-mail-smtp-plugin/

    Plugin Author Javier Carazo

    (@carazo)

    @graphmaster,

    Which password field are you referring to? In this plugin there is only one and it is deprecated, the one which exists in the SMTP Settings.

    SMTP settings will be removed in next version.

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Cannot remove SMTP username/password’ is closed to new replies.