• Resolved simple2

    (@simple2)


    We have been getting these errors lately:
    Post SMTP email error
    You getting this message because an error detected while delivered your email.
    For the domain: https://www.farmtocafeteriacanada.ca
    The log to paste when you open a support issue:
    Bad Request(invalid_grant)

    However, we use the Google API as our sending method so I don’t think this is a problem but we’d like to fix whatever is going on with our Post SMTP so we don’t get these error message. Is that something you can help us with? Thanks.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    Hi @simple2,

    Hope you are doing good. Thanks for reaching out to our support. It seems like the Gmail API needs to be configured correctly.

    Can you follow the steps provided in the following doc to reconfigure it and let us know if it helps;
    https://postmansmtp.com/how-to-configure-post-smtp-with-gmailgsuite-using-oauth/

    Looking forward to your response.

    Thanks and regards,
    Support Team – WPExperts

    Hi @simple2 ,

    I hope you are doing well.

    It’s just a follow-up about your issue. Has your issue resolved regarding the Post SMTP email error?
    Waiting for your response.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter simple2

    (@simple2)

    Thanks for your response!

    Right now our Post SMTP plugin is saying that it’s configured but we’re still getting warnings. 

    Screen Shot 2023-04-20 at 2.55.12 PM.png
    Plugin Support M Haseeb

    (@haseeb0001)

    @simple2

    Please attach a screenshot on any image uploader website and share the link.

    Screenshot is missing on your last message.

    Thanks

    Thread Starter simple2

    (@simple2)

    Here you go. Let me know if this doesn’t work:

    https://i.postimg.cc/26qs4yM2/unnamed.png

    Hi @simple2,

    I hope you are doing well.

    Please share Post SMTP diagnostic test report, so I can look into it and get back to you with a solution.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter simple2

    (@simple2)

    Here you go! Thank you. 🙂

    Mailer: postsmtp
    HostName: farmtocafeteriacanada.ca
    cURL Version: 7.71.0
    OpenSSL Version: OpenSSL/1.1.1d
    OS: Linux blackroot.redundant-webservers.com 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
    PHP: Linux 7.4.29 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 6.2 en_US UTF-8
    WordPress Theme: Infinite Child
    WordPress Plugins: TablePress, WPML Multilingual CMS, Advanced Custom Fields, Akismet Anti-Spam, Classic Editor, Code Snippets, Simple Custom CSS and JS, Smash Balloon Custom Facebook Feed, Enable Media Replace, Envato Market, Goodlayers Personnel Post Type, Goodlayers Portfolio Post Type, Goodlayers Twitter, Goodlayers Core, Google Analytics Dashboard for WP (GADWP), Mapster WP Maps Pro, My Database Admin, Page-list, Post SMTP, Redirection, Slider Revolution, Search & Filter Pro, WP Sticky PRO, UpdraftPlus – Backup/Restore, Yoast SEO, WP File Manager, WP phpMyAdmin, WP Visual Sitemap, WPML CMS Nav, WPML Media, WPML Sticky Links, WPML String Translation
    WordPress wp_mail Owner: /home/farmcafe/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    Postman: 2.4.8
    Postman Sender Domain (Envelope|Message): farmtocafeteriacanada.ca | farmtocafeteriacanada.ca
    Postman Prevent Message Sender Override (Email|Name): Yes | Yes
    Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 1944 | 2592

    Plugin Support M Haseeb

    (@haseeb0001)

    @simple2

    Please reconfigure the Post SMTP plugin with Gmail API, test it, and let me know.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter simple2

    (@simple2)

    I have refigured the Post SMTP through the Wizard but when I “Grant Permission with Google”, I get this error and I don’t know how to fix this:

    Access blocked: This app’s request is invalid

    You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error

    If you are a developer of this app, see error details.

    Error 400: redirect_uri_mismatch

    Hi @simple2,

    Following might be the solution in your case.

    1. If you chose the external type on the OAuth consent screen without publishing the app.
    2. Your authorized JavaScript origins and authorized redirect URIs were entered incorrectly when you created the OAuth client ID.

    Tell us if this resolves your problem. Waiting for your response.

    Thanks and regards,
    Support Team – WPExperts

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @simple2

    Hope you are doing good. We have been waiting to hear from you for the last week and assume your issue has been resolved.

    Feel free to reopen this issue in case the problem persists.

    Thanks and regards,
    Support Team – WPExperts

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Post SMTP email error’ is closed to new replies.