• Resolved webmasteruplyft

    (@webmasteruplyft)


    Hello, I’m trying to configure with gmail business account and Post SMTP plugin to send CF7 submissions, but can’t get it working.
    How do I configure the Mail settings tab in CF7 correctly when using gmail and Post SMTP? I had Post SMTP working, but when I tried to send CF7 form to test, I get the following error now:

    {
      "error": "invalid_grant",
      "error_description": "Token has been expired or revoked."
    }

    I feel like calling gmail with incorrect settings caused it? Any help is greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website?

    Thread Starter webmasteruplyft

    (@webmasteruplyft)

    thank you kindly.
    infosignal.ca

    Thread Starter webmasteruplyft

    (@webmasteruplyft)

    I feel like we did everything this article says: https://www.cloudways.com/blog/post-smtp-mailer-fork-of-wordpress-postman-smtp-plugin/?id=339490#step5
    Nothing I try is working. Either there’s an SMTP authorization error or some other error. Please help.
    One thing, when setting up google api, do we set project to internal emails or external emails, we weren’t sure what that meant. We just want to send emails through wordpress!! should be simple :)))

    Thread Starter webmasteruplyft

    (@webmasteruplyft)

    we also always get URI redirect errors when attempting to authenticate. error 400 I think

    Thread Starter webmasteruplyft

    (@webmasteruplyft)

    Mailer: phpmailer
    HostName: infosignal.ca
    cURL Version: 7.62.0
    OpenSSL Version: OpenSSL/1.0.2k
    OS: Linux hp306.hostpapa.com 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
    PHP: Linux 7.2.28 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=No, mcrypt=No, zlib_encode=Yes
    WordPress: 5.3.2 en_CA UTF-8
    WordPress Theme: Web3
    WordPress Plugins: Ultimate Addons for WPBakery Page Builder, Advanced Custom Fields, WP AutoTerms, CF7 Drop Uploader, Classic Editor, Admin Columns, Honeypot for Contact Form 7, Contact Form 7, Disable Comments, Duplicate Post, Easy Media Download, Email Address Encoder, Enhanced Media Library, Flamingo, Imsanity, WPBakery Page Builder, One Click Demo Import, Post SMTP, Post Types Order, Regenerate Thumbnails, Simple 301 Redirects, Category Order and Taxonomy Terms Order, TinyMCE Advanced, UpdraftPlus - Backup/Restore, ---- Web3 Map ---, WebP Express, Yoast SEO, Nested Pages, WP Sitemap Page
    WordPress wp_mail Owner: /home/infos312/public_html/wp-includes/pluggable.php
    WordPress wp_mail Filter(s): PostsmtpMailer->get_mail_args
    WordPress phpmailer_init Action(s): wpcf7_phpmailer_init, PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.0.11
    Postman Sender Domain (Envelope|Message): infosignal.ca | infosignal.ca
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 2 | 8
    
    Thread Starter webmasteruplyft

    (@webmasteruplyft)

    We got it!
    Oh man. I think it was internal vs external setting. Additionally, I did show Host Papa the connectivity test and they had to open port 587. Not sure if that played a part.

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

The topic ‘Help Configure with Post SMTP’ is closed to new replies.