Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/4227-send-mail-every-few-days/
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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.