• Resolved catacaustic

    (@catacaustic)


    I have a site that’s currently being re-developed as a brand-new site to replace an existing older site. The client uses your plugin and needs to keep the settings for it as they are now. While I can copy most of the set up, I cannot retrieve the account password that’s stored for the ‘Other SMTP’ section.

    Is there any way to find out what that password is or do they need to reset that password in order to let me set this up for them? I would prefer a way to find out what it currently is saved as because I know that their SMTP system is connected to other external systems, so resetting the password for the mail account is a lot more involved then just one thing.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @catacaustic,

    Thanks for reaching out! The SMTP password is encrypted within the Easy WP SMTP plugin for security reasons. The easiest option would be to reset the email account password and then update the password field within the Easy WP SMTP plugin settings.

    I hope this helps. Thanks!

    Thread Starter catacaustic

    (@catacaustic)

    I can understand that, but resting the password is not an easy option in this case. As I said there’s several other systems linked to it, so it’s not a simple as me plugging in a new password for this one system of mine.

    I also understand that the password is encrypted, but there must be some way of decrypting it – otherwise you wouldn’t be able to send it with the requests from your plugin?

    I know I’m probably not going to get a good (for me) answer here, but I’m hoping that there’s something that can be done so we don’t have to go through days of pain here for something that should be relatively easy.

    Plugin Support Darshana

    (@darshanaw)

    Hi @catacaustic,

    As discussed with our developers, they have provided the following code snippet that you can add to your child theme’s?functions.php?file.

    // Display SMTP password in Easy WP SMTP plugin.
    add_filter( 'easy_wp_smtp_admin_settings_tab_display', function ( $settings_html ) {

    $options = \EasyWPSMTP\Options::init();
    $password = $options->get( 'smtp', 'pass' );

    ob_start();
    ?>
    <div class="easy-wp-smtp-meta-box">
    <div class="easy-wp-smtp-meta-box__header">
    <div class="easy-wp-smtp-meta-box__heading">
    <?php esc_html_e( 'SMTP Credentials', 'easy-wp-smtp-pro' ); ?>
    </div>
    </div>
    <div class="easy-wp-smtp-meta-box__content">
    <div class="easy-wp-smtp-row">
    <div class="easy-wp-smtp-row__desc">
    <p><b>Password:</b> <?php echo esc_html( $password ); ?></p>
    </div>
    </div>
    </div>
    </div>
    <?php
    return $settings_html . ob_get_clean();
    } );

    After adding this code, you should be able to see the password within the settings page (see:?https://a.supportally.com/i/oN5YiP).

    To add the code using a plugin, please review this guide.

    I hope this helps. Thanks!

    Thread Starter catacaustic

    (@catacaustic)

    Hi @darshanaw

    A quick note to say thank you so much! That’s worked and given me exactly what I need. Hopefully it will also help others that have the same issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.