Jump to content

Archived

This topic is now archived and is closed to further replies.

testme

Send mail every few days

Recommended Posts

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

Share this post


Link to post
Share on other sites
[!--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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.