0

Hi guys,

Need an effective suggestions on how to deal with this situation.
Im working with php and mysql.

Now the system i am creating needs to send emaill notification once a year.

4
Contributors
8
Replies
10
Views
4 Years
Discussion Span
Last Post by code739
0

How do you plan on the system working? Are you going to build a web application where you can initiate the emailing process? Do you need to send emails out on a specific day on e a year or do you mean that will send out emails regularly but your target users will only receive an email once per year?

0

send out emails regularly but your target users will only receive an email once per year?

Edited by code739

0

What i mean is a scenario where you have say a membership program that users are required to renew once per year. Not all users expire on the same day.

1

I'd probably use a cron job. A cron job (unix systems) will run a php script at a certain time every day, if you set it up that way.

The script can search the DB for renewal dates, extract the relevant ones and fire off an email to them - all automatically - you don't have to do a thing.

I suggest running the cron at your quietest period for traffic. Check your stats to see when this is.

Edited by diafol

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.