You are here: Re: Auto Email Greeting in PHP to Members « PHP Programming Language « IT news, forums, messages
Re: Auto Email Greeting in PHP to Members

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация