• Resolved Vivier

    (@vivier)


    I have made a new contact page with Elementor pro contact widget.
    But it doesn’t work.
    To fix the problem, I have installed the plugin Post SMTP.
    Now I receive e-mail error message: Bad Request(invalid_grant)
    Since I have installed Post SMTP, wordpress in unable to send any e-mail, including e-mail from woocommerce, which is a major issue.

    Diagnostic test hereunder:

    Mailer: postsmtp
    HostName: vivierboats.com
    cURL Version: 7.38.0
    OpenSSL Version: OpenSSL/1.0.1t
    OS: Linux webd092.cluster013.gra.hosting.ovh.net 4.14.154-ovh-vps-grsec-zfs-classid #1 SMP Wed Nov 13 11:24:26 CET 2019 x86_64
    PHP: Linux 7.2.31 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 5.5.3 en_EN UTF-8
    WordPress Theme: OceanWP
    WordPress Plugins: VaultPress, WPML Multilingual CMS, Ivory Search, ARI Adminer, Broken Link Checker, Code Snippets, Elementor Pro, Elementor, Essential Addons for Elementor, Essential Grid, Google Analytics Dashboard for WP (GADWP), Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue, Popup Trigger URL for Elementor Pro, Post SMTP, Protect Uploads, Regenerate Thumbnails, Elementor Contact Form DB, Shortcodes Ultimate, Websimon Tables, WooCommerce Customizer, Booster for WooCommerce, WooCommerce Multilingual, WooCommerce Sendinblue Newsletter Subscription, WooCommerce, Wordfence Security, WP Media folder, WP Rocket, WPML CMS Nav, WPML Media, WPML Sticky Links, WPML String Translation, WPML Translation Management
    WordPress wp_mail Owner: /home/vivierbo/www/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress
    WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.0.15
    Postman Sender Domain (Envelope|Message): vivierboats.com | vivierboats.com
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtps:oauth2://smtp.gmail.com:465)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 3696 | 501

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello, I have the exact same problem, so I hope you get an answer!

    This is the diagnosis test for my site:

    Mailer: postsmtp
    HostName: champdecriture.net
    cURL Version: 7.64.0
    OpenSSL Version: OpenSSL/1.1.1d
    OS: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
    PHP: Linux 7.4.12 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=No, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 5.5.3 fr_FR UTF-8
    WordPress Theme: Ark
    WordPress Plugins: AddToAny Share Buttons, Akismet Anti-Spam, Ark Theme Core Plugin, Fresh Custom Code, Fresh Favicon, Fresh File Editor, Fresh Framework, Fresh Menu Item Limit Fix, Imagify, MC4WP: Mailchimp for WordPress, Post SMTP, Really Simple SSL, Slider Revolution, UpdraftPlus – Backup/Restore, Yoast SEO
    WordPress wp_mail Owner: /homepages/35/d790834537/htdocs/champdecriture/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args
    WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.0.15
    Postman Sender Domain (Envelope|Message): gmail.com | gmail.com
    Postman Prevent Message Sender Override (Email|Name): Yes | Yes
    Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 49 | 21

    Hi @vivier and @champdecriture,

    Looking at this issue, this seems to be linked to Gmail. Did you set up your account via the Google API, or manually? Have you tried removing and re-creating the connection?

    I also noticed on an old thread postthat Wordfence did have a bug which caused this problem, so if you have it installed it might be worth trying a temporary deactivation.

    Let me know how that goes.

    Kind Regards,
    Tim

    Thread Starter Vivier

    (@vivier)

    Thank you Tim.
    Actually, the problem was immediately solved by switching to Sendinblue to send the e-mails from WordPress. I was already using SendinBlue for my email marketing.
    Kind regards,
    Fran?ois

    Hi Fran?ois @vivier,

    That’s good to know, I’m glad you got it resolved. Don’t forget to mark this thread as resolved if the problem is now sorted. There is a checkbox underneath where you type your message. ??

    Kind Regards,
    Tim

    Thread Starter Vivier

    (@vivier)

    Problem solved

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bad Request(invalid_grant)’ is closed to new replies.