/    Sign up×
Community /Pin to ProfileBookmark

Auto email reminders?

I haven’t started it yet, but I don’t know the best way to do it. I’d like to give my users the option to send email reminders of upcoming events. My question is how to have these sent automatically, not brought on by a page that must be visited. Can I create a PHP file that is always running and executing if the conditions are met? Can it be uploaded to the server so it does not need to be called by the user manually?

My current plan is to have the users set the email reminders by inserting a new record into a database table. Using a date formula, I want to create a PHP script that emails people based on their entries. Can this be done?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@chestertbSep 03.2007 — your server should have the ability to schedule cron jobs. just set the cron job to run your php script at the desired time (and frequency).

how that's done will depend on your server, and whether the control panel you're running has cron editing access (most do).
×

Success!

Help @dz_boy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...