• Resolved Ahmad

    (@ahmadali99)


    ??when emails are sent from php mail() Google is showing that question ? mark so I am using SMTP plugin to send mails from website. When I use SMTP plugin [CHECK OUT] becomes slow in cash on delivery, payment mode and in other payment modes because when we click (PLACE ORDER BUTTON) AT check-out the SMTP plugin is sending email about order processing emails and other emails with respect to order. it’s Taking time to authenticate with SMTP server and send mail after that the page is loading to ORDER COMPLETE PAGE.

    my request is that is that possible to delay the processing, on hold , failed etc MAILS to send after the order is complete so that check out becomes much faster.

    1. OLD WAY==Place order button ?? SMTP authentication+sending email ?? orders complete page=slow check out ?

    2. NEW WAY==PLACE ORDER ?? ORDERS COMPLETE ??SMTP AUTHENTICATION SENDING EMAIL=FASTCHECK OUT?

    please respond with your solution ? thankyou

    TEST RESULTS ?

    1. Without SMTP PLUGIN CHECK OUT TIME (2SECONDS)?
    2. with SMTP PLUGIN CHECK OUT TIME (11SECONDS and more)??? loading loading due to SMTP server authentication and all process
    • This topic was modified 1 year, 4 months ago by Ahmad.
    • This topic was modified 1 year, 4 months ago by Ahmad.
    • This topic was modified 1 year, 4 months ago by Ahmad.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Ahmad

    (@ahmadali99)

    please respond

    Hi @ahmadali99

    Thanks for reaching out!

    TEST RESULTS ?

    1. Without SMTP PLUGIN CHECK OUT TIME (2SECONDS)?
    2. with SMTP PLUGIN CHECK OUT TIME (11SECONDS and more)??? loading loading due to SMTP server authentication and all process

    I understand that when you are using a SMTP plugin on your site, the checkout process is slower than expected due to server authentication and all the process, correct?

    As a first step, can you please share what SMTP plugin you are using here for us to point you in the right direction?

    If a screenshot would be helpful, I’d recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    If you’re unsure, please share with us the necessary information below for us to investigate the issue further:

    • System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter Ahmad

    (@ahmadali99)

    1. I tested fluent SMTP, SMTP Mailer, and other SMTP plugins. when the customer clicks place order on cash on delivery the screen loads more when smtp plugin is enabled and when disabled the order is completed very quickly to the thank you page.

    2. For testing, I disabled Email notifications in woocommerce settings like New Order, Processing Order, etc, and then performed checkout. it becomes very fast.

    3. when I enabled the SMTP plugin it became slow. due to SMTP auth and all that.

    /////if the emails are sent after the thank you page the loading issue will be fixed..in my opinion./////

    1. video result for smtp plugin ENabled

    VIDEO LINK

    2. video result for smtp plugin disabled

    VIDEO LINK

    PLEASE SEE BOTH VIDEOS LINKED ABOVE IT TOOK ME A LOT OF TIME WRITING THIS CREATING THE SCREEN RECORDING EDITING AND UPLOADING THE VIDEOS HERE. PLEASE RESPOND WITH SOLUTION

    THANKYOU WAITING FOR YOUR RESPONSE

    Thread Starter Ahmad

    (@ahmadali99)

    This issue is solved by defering woocommerce transaction emails

    ADD THIS CODE TO FUNCTION.PHP IN YOUR THEME

    add_filter( ‘woocommerce_defer_transactional_emails’,’__return_true’ );

    By adding the above code emails are delayed for some time and sent and checkout speed is improved

    Hi @ahmadali99,

    This issue is solved by defering woocommerce transaction emails

    I’m glad to hear that you were able to resolve the issue by deferring WooCommerce transactional emails. Your solution to add the filter ‘woocommerce_defer_transactional_emails‘ to your theme’s functions.php file is indeed a great way to delay the sending of emails, and thereby speed up the checkout process.

    Thank you for sharing your solution with us. It will be very helpful for other users who might be facing a similar issue.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    Hope you have a fantastic day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Check out becomes SLOW with SMTP PLUGINS??????????’ is closed to new replies.