BigMan157 no u 103354 Posts user info edit post |
is there a way to have the mail function in php time delay when an email is spent
like if you have a certain date that you input to have the mail sent, is there a way to have it not sent until that date? 1/12/2006 1:57:09 PM |
OmarBadu zidik 25073 Posts user info edit post |
hold the data into a queue until a specificed time and then send it on 1/12/2006 1:58:00 PM |
poopface All American 29367 Posts user info edit post |
The Queen, The Vatican, The Gettys, The Rothschilds, *and* Colonel Sanders before he went heads up. 1/12/2006 2:03:44 PM |
dFshadow All American 9507 Posts user info edit post |
cron job 1/12/2006 2:20:09 PM |
BigMan157 no u 103354 Posts user info edit post |
examples plz
what i'm trying to do is have a list of users that can be checked with one of two options
option 1 will send them an email immediately upon form submission, which is easy enough with the mail() function
option 2 will send them an email on a specified date, which i'm not sure how to approach 1/12/2006 3:42:53 PM |
mellocj All American 1872 Posts user info edit post |
if option 2, insert the message and send to date into a database.. have another script that runs daily, and sends the message if that date = today. setup cron to run that script daily. 1/12/2006 4:06:55 PM |
BigMan157 no u 103354 Posts user info edit post |
i dunno if i have access to cron
i suppose i'll check tomorrow 1/12/2006 5:33:33 PM |
Noen All American 31346 Posts user info edit post |
yep cron job 1/13/2006 10:27:58 AM |
OmarBadu zidik 25073 Posts user info edit post |
every user has access to at least their own cron 1/13/2006 10:36:57 AM |