• Resolved pb52

    (@paulbarrett1952)


    For about a month now we’ve had an issue on several servers that POST SMTP is unable to send email because authentications fails or, most often, connection times out.

    It happened again last night. At 23:18 we got a connection failure and that continued through the night – several service email were due to be sent but did not go. At 07:18 this morning I sent a test message, which worked. So the service healed itself.

    Logically the issue would appear to be with the receiving mail server, but ours is the only service having problems, of many running on that server. But all the others use Easy SMTP. I like POST SMTP because of it’s email log, which allows me to resend failed emails and that feature is a godsend given our situation

    Can you offer any advice please?

    We’re using 2.3.2 free version

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support Muhammad Haseeb

    (@haseeb0001)

    Hi @paulbarrett1952

    I hope you are doing well.

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

    Thanks

    Thread Starter pb52

    (@paulbarrett1952)

    Mailer: postsmtp
    HostName: berksfhs.org
    cURL Version: 7.68.0
    OpenSSL Version: OpenSSL/1.1.1f
    OS: Linux berkshire 5.4.0-117-generic #132-Ubuntu SMP Thu Jun 2 00:39:06 UTC 2022 x86_64
    PHP: Linux 7.4.33 C.UTF-8
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
    WordPress: 6.1.1 en_GB UTF-8
    WordPress Theme: OceanWP Child
    WordPress Plugins: ManageWP - Worker, Post SMTP, Ivory Search, Admin Menu Editor Pro, AIOWPS Country Blocking Addon, All In One WP Security Reset Settings, All In One WP Security, Asgaros Forum, Autocomplete WooCommerce Orders, BNE Flyout, PublishPress Capabilities, Code Snippets, Complianz Privacy Suite (GDPR/CCPA) premium, Duplicate Menu, Yoast Duplicate Post, Dynamic User Directory Custom Sort Fld, Dynamic User Directory Exclude User Filter, Dynamic User Directory Export, Dynamic User Directory Horizontal Layout, Dynamic User Directory Meta Fields Search, Dynamic User Directory Multiple Dirs, Dynamic User Directory, Elementor Pro, Elementor, EmbedPress Pro, EmbedPress, Essential Addons for Elementor - Pro, Essential Addons for Elementor, Forminator Pro, GA Google Analytics, Loco Translate, Login or Logout Menu Item, LoginPress - Customizing the WordPress Login Screen., MC4WP: Mailchimp for WordPress, MEC Advanced Reports, MEC location and category, MEC Virtual Events, WooCommerce Integration for MEC, Media Library Enable Infinite Scrolling, MemberPress Courses, MemberPress Developer Tools, MemberPress Downloads, MemberPress Elementor Content Protection, MemberPress Importer, MemberPress MailChimp 3.0, MemberPress Plus 10 (Legacy), Modern Events Calendar, My Custom Functions, Notification, Ocean Elementor Widgets, Ocean Extra, Ocean Footer Callout, Ocean Hooks, Ocean Posts Slider, Ocean Social Sharing, Ocean Sticky Header, Redirection, Missing Bits for MemberPress, TablePress Extension: Larger Edit Input Fields, TablePress Extension: Pagination Length Change "All" entry, TablePress, Advanced Editor Tools (previously TinyMCE Advanced), UpdraftPlus - Backup/Restore, User Menus, User Role Editor, Widget Shortcode, Checkout Field Editor for WooCommerce, NextMove Lite - Thank You Page for WooCommerce, WooCommerce Stripe Gateway, WooCommerce, Yoast SEO, WP Crontrol, WP HTML Mail - Email Template Designer, WP Mailto Links - Hide & Protect Emails, WP-Optimize - Clean, Compress, Cache, WP Rollback, WP SVG Images, WP All Export - User Export Add-On Pro, WPMU DEV Dashboard
    WordPress wp_mail Owner: /home/berkshire/webapps/berksfhs/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args, Haet_Mail->style_mail
    WordPress wp_mail_from Filter(s): BracketSpace\Notification\Integration\WordPress->filter_email_from_email
    WordPress wp_mail_from_name Filter(s): BracketSpace\Notification\Integration\WordPress->filter_email_from_name
    WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
    Postman: 2.3.2
    Postman Sender Domain (Envelope|Message): berksfhs.org | berksfhs.org.uk
    Postman Prevent Message Sender Override (Email|Name): No | No
    Postman Active Transport: SMTP (smtp:tls:plain://emmons.uniquelyyoursmail.com:587)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 59869 | 532
    Postman Email Log (Enabled|Limit|Transcript Size): Yes | 5000 | 128
    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    @paulbarrett1952 thanks, please share the screenshot of Post SMTP > Settings > Account tab.

    Thanks

    Thread Starter pb52

    (@paulbarrett1952)

    Thread Starter pb52

    (@paulbarrett1952)

    Hi, in attempt to break the deadlock I tried configuring one of our dev servers to use the Gmail API, since our main email service is hosted with them, instead of the mail in a box service provided by our website host.

    We already have a service to backup Gmail to our Synology NAS using Synology’s Active Backup for Gmail, so I added an additional service for Post SMTP. We have two dev servers and two live, so I added 4 Authorised JavaScript origins and 4 Authorised Redirect URIs, corresponding tot the four server URLs

    I added the client ID and secret on one of the dev sites. It was accepted and I authenticated the email address as suggested. That was a little weird, because Gmail did not ask me to allow the Post SMTP service. Instead it asked me to allow the Gmail Active backup. However, it seemed to work because a test message was sent and received with no authentication warning message.

    So then I tried to set up the second dev server using the same process and credentials. That worked, up to the point of Gmail authentication. The normal Gmail box opened up, asking me to allow access (again to the Gmail Active Backup, not Post SMTP) but this time Gmail responded with “You are not authorised to use this service.” So I can send test emails but on receipt they all contain a warning that the sender could be authenticated.

    Do I need to use a separate email address for each server?

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    @paulbarrett1952

    No you don’t need to use a separate email address for each server.

    Share the screenshot of email which you are facing warning.

    Thanks

    Thread Starter pb52

    (@paulbarrett1952)

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    Did you enabled the Gmail API in your Google Cloud console ?

    Its seems like Google cloud console settings are not done correctly.

    Watch this video and configure the API again with Post SMTP and let me know.

    Thread Starter pb52

    (@paulbarrett1952)

    I’ve been through the process again, with the same result. I can configure the first server, connect it and send a test message, but when I try to use the same creds to connect to a second server, I can complete all the set up steps but as soon as I try to allow Gmail to be used, I get the error that I’m not authorised to use the service. All of the authorised JS origins and redirect URI’s are defined – four pairs of them

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    @paulbarrett1952

    I need more details about this issue; can you please contact our website so I can get a complete video of this process and get back to you with a solution?

    Thanks

    Thread Starter pb52

    (@paulbarrett1952)

    Sure. I’ll record a video. Thanks for your help with this it’s appreciated.

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    @paulbarrett1952 Hi,

     Let me know; if your issue is resolved so we can close this thread.  

    Thanks

    Thread Starter pb52

    (@paulbarrett1952)

    Hi Muhammad

    This issue is closed.

    Plugin Support Muhammad Haseeb

    (@haseeb0001)

    Great, thanks for letting me know.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Intermittent conenction errors’ is closed to new replies.