• Hello,
    i updated wordpress and Post SMTP plugin and now i get connection timeout even for localhost, but the email is sent.
    The big issue is that until the request timesout, the website hangs.
    I tested numerous ways (different server,port,auth type etc) and all have same result, timeout.
    no info in the debug apart from the message.
    I have changed the emails/domains for security purpuses.

    [27-Mar-2021 00:31:00 Europe/Bucharest] DEBUG Postman: Postman SMTP v2.0.22 starting
    [27-Mar-2021 00:31:00 Europe/Bucharest] DEBUG PostmanWpMailBinder: Bound to wp_mail()
    [27-Mar-2021 00:31:00 Europe/Bucharest] DEBUG Postman: local translation file loaded for locale=ro_RO
    [27-Mar-2021 00:31:00 Europe/Bucharest] DEBUG Postman: local translation file loaded for locale=ro_RO
    [27-Mar-2021 00:31:00 Europe/Bucharest] DEBUG Postman: Admin start-up sequence
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanMessage: Processing Content-Type Header - Content-Type: multipart/alternative;
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanMessage: User added recipient: "****"
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanMessage: Processing Message-Id Header - Message-ID: 07a78018c586b1d0456abb24cfa2d092@*****
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanMessage: Applying WordPress filters
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanMessage: Adding body as multipart/alternative
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanWpMail: testMode=
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanWpMail: Sending mail
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Prepping Zend
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Building Postman_Zend_Mail with charset=UTF-8
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Adding content-type multipart/alternative
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: From email=******* name=*******
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: To email=****
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Adding body as text
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Adding body as html
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Adding attachments
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Create the Zend_Mail transport
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanBasicAuthConfigurationFactory: Using localhost:25 
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanBasicAuthConfigurationFactory: Using no encryption
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanBasicAuthConfigurationFactory: Using auth plain with username ***** and password ***********
    [27-Mar-2021 00:31:01 Europe/Bucharest] DEBUG PostmanZendMailEngine: Sending mail
    [27-Mar-2021 00:31:17 Europe/Bucharest] DEBUG Postman: Postman SMTP v2.0.22 starting
    [27-Mar-2021 00:31:17 Europe/Bucharest] DEBUG PostmanWpMailBinder: Bound to wp_mail()
    [27-Mar-2021 00:31:17 Europe/Bucharest] DEBUG Postman: local translation file loaded for locale=ro_RO
    [27-Mar-2021 00:31:22 Europe/Bucharest] ERROR PostmanWpMail: Exception code=0 message=localhost has timed out
    [27-Mar-2021 00:31:22 Europe/Bucharest] DEBUG PostmanState: incrementing failure count: 205
    [27-Mar-2021 00:31:22 Europe/Bucharest] DEBUG PostmanEmailLogService: Saved message #26859 to the database
    [27-Mar-2021 00:31:22 Europe/Bucharest] DEBUG PostmanEmailLogPurger: deleting log item 26220
    [27-Mar-2021 00:31:23 Europe/Bucharest] ERROR PostmanEmailLogController: Email was not successfully re-sent - 0

    Transport Socket Stare* Serviciu disponibil ID server Autentificare
    None Login Plain CRAM-MD5 OAuth 2.0
    SMTP localhost:25 Deschis SMTP ***** Nu Da Da Nu Nu

    Because of the delay, i disabled the plugin.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @rmihaig,

    Have you tried an entirely different SMTP provider? Using localhost may be disabled by your hosting provider.

    Kind Regards,
    Tim

    Thread Starter rmihaig

    (@rmihaig)

    Hi Tim,

    we did test with various combinations and in the end it was something stuck with the email server ??

    2 Questions:
    – while we had this issue, the loading of the page was depending on the tineout settings, can in the future fave this sendings async? (perhaps with a setting for cases whene you dont need ack) so that the wp loadings are not affected
    – sometimes when we get timeouts upon sending, we receive another email stating that the sending timedout, that is strange, i cannot send an email but here, the error email :), are doing some kind of fallback to something to send the error alert email?
    or the sending error it is actualy depending on the response of the sending server? (something like post smtp request -> smtp server -> recipient server -> smtp server returns error -> smtp request proxies the received error

    Kind Regards,
    Mihai

    Hi Mihai,

    Sorry – I am not too sure on those. I will escalate this to the developer @yehudah for comment.

    Kind Regards,
    Tim

    Thread Starter rmihaig

    (@rmihaig)

    Hi Tim,
    Sometimes i find in the logs this

    [08-Apr-2021 15:53:56 Europe/Bucharest] PHP Fatal error:  Uncaught Error: Class 'PostmanAdminController' not found in **********/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSmtpModuleTransport.php:329
    Stack trace:
    #0 ********/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSmtpModuleTransport.php(294): PostmanSmtpModuleTransport->addSettings()
    #1 ********/wp-includes/class-wp-hook.php(292): PostmanSmtpModuleTransport->on_admin_init('')
    #2 *********/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 *********/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 *********/wp-admin/admin-ajax.php(45): do_action('admin_init')
    #5 {main}
      thrown in **********/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanSmtpModuleTransport.php on line 329

    Kind Regards,
    Mihai

    Yes – we regularly find the same errors in the logs as @rmihaig on a number of sites the plugin runs on, using:

    WordPress version 5.7.2
    Current plugin: Post SMTP (version 2.0.22)
    PHP version 7.3.28

    Can you advise?

    Thanks

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