Connecting Tech Pros Worldwide Forums | Help | Site Map

Delay script execution

Newbie
 
Join Date: Aug 2007
Posts: 19
#1: Sep 25 '07
Hi all,
I am setting up a "contact us" form where users basically enter some fields to send an email to the admin of the site. I would like an auto-responder to send a pre-written message to the person who filled out the form. Something like

Dear <insert name>

Thank you for your letter,

Admin


The tricky bit is that I would like the auto-responder to send a reply after 10 minutes of the user filling out the Contact us form.

I tried using passthru() but was having trouble. Any ideas?

Peace

Al

Member
 
Join Date: Sep 2007
Location: Reno
Posts: 69
#2: Sep 26 '07

re: Delay script execution


Store the request and then setup a cron to send out emails for those requests stored at least 10 minutes ago.
Reply