eyal Posted May 20, 2007 Share Posted May 20, 2007 Hi everyone, I have a "Contact Me" Form in my site. If the user clicks "Send Form" then he/she needs to wait until the PhpMailer script will be done sending a message for me. How can I tell the PhpMailer page in my site, which sends the e-mails, to run and send me a new e-mail without the need of the user to actually see the page and wait until it's run? Thanks alot! Eyal Quote Link to comment https://forums.phpfreaks.com/topic/52243-make-a-page-work-without-the-need-of-the-user-to-wait/ Share on other sites More sharing options...
Psycho Posted May 20, 2007 Share Posted May 20, 2007 How long is it taking to send the email now? It should be fast enough that the user wouldn't notice. Quote Link to comment https://forums.phpfreaks.com/topic/52243-make-a-page-work-without-the-need-of-the-user-to-wait/#findComment-257809 Share on other sites More sharing options...
Crusader Posted May 20, 2007 Share Posted May 20, 2007 I suppose you could use AJAX to do this though if the e-mail didn't actually send you'd already have told the user it was. Quote Link to comment https://forums.phpfreaks.com/topic/52243-make-a-page-work-without-the-need-of-the-user-to-wait/#findComment-257848 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.