Title: Submit button loader or asynchronous processing for slow button submit
Last modified: August 8, 2017

---

# Submit button loader or asynchronous processing for slow button submit

 *  Resolved [stackbuilder](https://wordpress.org/support/users/stackbuilder/)
 * (@stackbuilder)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/submit-button-loader-or-asynchronous-processing-for-slow-button-submit/)
 * Hi. I have double opt-in confirmation turned on. However, this means whenever
   a site visitor presses “submit” after filling out his email, the holler box hangs
   for about 10 seconds while this double opt in email is being generated in the
   background. Meanwhile, there is no visual confirmation that the submit is being
   processed, resulting in poor UX.
 * Would you have any tips on the best way to solve for this? Maybe add a loader
   gif through JS/CSS on button click? As far as I can tell, there is no way to 
   speed up the email send since it’s an inherently expensive process, and PHP doesn’t
   support threading, so the solution seems to be to indicate to the site visitor
   that the request is being processed.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/submit-button-loader-or-asynchronous-processing-for-slow-button-submit/#post-9393111)
 * Hi,
 * We’ve never encountered a wait time of more than 2 seconds. This does not mean
   it can’t happen, especially with slow hosts. Thanks for bringing this up and 
   we’ll add it to our list of enhancements. In the meantime, have you considered
   using a faster sending service and/or hosting?
 * Cheers,
    MailPoet Team.

Viewing 1 replies (of 1 total)

The topic ‘Submit button loader or asynchronous processing for slow button submit’
is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Wysija](https://wordpress.org/support/users/wysija/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/submit-button-loader-or-asynchronous-processing-for-slow-button-submit/#post-9393111)
 * Status: resolved