The scenario: A "forgot my password" for is filled with email.
On submission email is sent to the user. Due to the way ZF is working, the email is sent in the controller, before anything is thrown to the browser.
This makes it look like after the submission the site is stuck (if it takes a long time to send the email).
Is there a way to echo a message to the screen, on the lines "Your request is being taken care of...".
I can use AJAX to submit this request,
I can use cron to send the emails at a later time...
But I was wondering if there is a good way to do it built in ZF?