in reply to Re^2: Looping through database query to send emails is taking too long
in thread Looping through database query to send emails is taking too long

Hmmm, then you can show some progress bar on your web application, after user clicks SEND button.


All is well. I learn by answering your questions...
  • Comment on Re^3: Looping through database query to send emails is taking too long
  • Download Code

Replies are listed 'Best First'.
Re^4: Looping through database query to send emails is taking too long
by htmanning (Friar) on Jul 21, 2015 at 06:07 UTC
    I do have a note asking them to be patient, but I'd like a please wait screen to show while the sending is happening. Right now, even though I have the print line for the "please wait" before the actual loop, the browser doesn't show it until the messages are sent. It flashes briefly before the confirmation screen is shown. It defeats the purpose of it.