|
Posted by Tim Roberts on 10/12/07 02:41
tkaw220@gmail.com wrote:
>
>I am looking to build an PHP application which will automatically send
>birthday greeting email to subscribers. The content of that email will
>change from time to time. Please help. Links to tutorial to accomplish
>this objective is very much appreciated.
You don't want your web application sending the emails. Remember that the
PHP app will only run when someone makes a web request. If no one happens
to make a web request on a Sunday, your app won't run at all.
You should use something like cron to fire off a task once a day to query
the database, format and send the email. You could write that task in PHP,
but it doesn't have to be.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Navigation:
[Reply to this message]
|