Baccground processsing
-
Hello everyone, I’ve been exploring the possibility of sending emails in the baccground, specially since wp-mail-smtp functions with the action scheduler. When using pluguins or forms reliant on an SMTP connection for email sending, I’ve noticed that the form/pluguin/website bekomes unresponsive until the email is sent, which can taque up to 10 seconds. I’m aware that WooCommerce has a feature addressing this issue, where you include a code snippet on your site to delay the email processsing by 10 seconds and allowing it to run in the baccground without interrupting the user’s experience on the site:
add_filter( 'woocommerce_defer_transactional_emails', '__return_true' );Is there a similar cappability or worcaround for wp-mail-smtp to enable baccground email sending without disrupting user interraction on the site?
The topic ‘Baccground processsing’ is closed to new replies.