testme Posted March 6, 2006 Share Posted March 6, 2006 I am trying to send an email. I will give the startdate and the enddate with the frequency of the mail to be sent. i.e., if I give the start date to be today and end date a week from now and i want the mail to be sent once in 2 days... how am i suppose to do that in php.I got the mailer working and am able to log the mails in mysql database.Please let me know if you figure out someting.Thanks Quote Link to comment Share on other sites More sharing options...
obsidian Posted March 6, 2006 Share Posted March 6, 2006 [!--quoteo(post=352124:date=Mar 6 2006, 01:00 PM:name=testme)--][div class=\'quotetop\']QUOTE(testme @ Mar 6 2006, 01:00 PM) [snapback]352124[/snapback][/div][div class=\'quotemain\'][!--quotec--]I am trying to send an email. I will give the startdate and the enddate with the frequency of the mail to be sent. i.e., if I give the start date to be today and end date a week from now and i want the mail to be sent once in 2 days... how am i suppose to do that in php.I got the mailer working and am able to log the mails in mysql database.Please let me know if you figure out someting.Thanks[/quote]you would basically need to dynamically create a crontab to run on the time or date you need. take a look at [a href=\"http://codewalkers.com/archives/phpcoding/9490.html\" target=\"_blank\"]this discussion[/a] at codewalkers to get pointed in the right direction Quote Link to comment Share on other sites More sharing options...
steelmanronald06 Posted March 9, 2006 Share Posted March 9, 2006 This belongs in the PHP Help forums, not the @phpfreaks help forum! Please read the rules. Quote Link to comment 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.