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 Link to comment https://forums.phpfreaks.com/topic/4227-send-mail-every-few-days/ 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 Link to comment https://forums.phpfreaks.com/topic/4227-send-mail-every-few-days/#findComment-14689 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. Link to comment https://forums.phpfreaks.com/topic/4227-send-mail-every-few-days/#findComment-15797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.