• We setup the plugin as per usual.

    After OAuth Server confirmation we get the “green” interface.

    Test email, works – expected.

    Plugin message :
    Gmail SMTP plugin cannot send email until you enter your credentials in the settings and grant access to your web application.
    Test email, works.

    Test from site, works – not expected.

    ===

    Further info :

    When setting up a fatal error occurred. It seemed that the ‘client_id’ value was not being passed. Checking the POST payloads it seemed to be OK. Retrying the process solved that issue.

    PHP error log :

    [07-Dec-2017 07:57:41 UTC] PHP Fatal error: Uncaught InvalidArgumentException: missing the required client identifier in xxx/wp-content/plugins/gmail-smtp/google-api-php-client/vendor/google/auth/src/OAuth2.php:635
    Stack trace:
    #0 —/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(340): Google\Auth\OAuth2->buildFullAuthorizationUri(Array)
    #1 —/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(65): Google_Client->createAuthUrl()
    #2 —/wp-content/plugins/gmail-smtp/main.php(155): GmailXOAuth2::authenticate()
    #3 —/wp-includes/class-wp-hook.php(286): GMAIL_SMTP->plugin_init(”)
    #4 —/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 —/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 —/wp-settings.php(450): do_action(‘init’)
    #7 —/wp-config.php(183): require_once(‘/home/a1 in —/wp-content/plugins/gmail-smtp/google-api-php-client/vendor/google/auth/src/OAuth2.php on line 635

    ===

    Removed all plugins. No difference.

    Any help or advice would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Noor Alam

    (@naa986)

    Hi, If the test email works then that means there is no issue in the connection and the plugin can send an email from your site.

    I have this same issue. The test email works, but the plugin still keeps this annoying error message at the top of every page of my admin panel:

    Gmail SMTP plugin cannot send email until you enter your credentials in the settings and grant access to your web application.

    • This reply was modified 7 years, 1 month ago by jencollette.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.1.6 functioning but not reporting true for credentials’ is closed to new replies.