Automatic Daily Personalized E-mails

I have a PHP website and am trying to figure out a way to send
automatic daily personalized e-mails. I have been able to set up a php
page on the site that automatically checks through the database and
sends out the personalized e-mails, but the problem with this method
is that in order to send the messages, I have to access the PHP page.
I would rather the messages be sent out automatically, on a daily
basis.

My site is hosted on a Yahoo! server which I imagine may cause some
problems, though I am not sure. Anyone have experience with automatic
e-mail sending, initiated on the server perhaps by a third-party
program or custom code?

Thanks.
Josh [ Mo, 07 April 2008 19:41 ] [ ID #1940480 ]

Re: Automatic Daily Personalized E-mails

On Apr 7, 1:41 pm, Josh <jjreic... [at] gmail.com> wrote:
> I have a PHP website and am trying to figure out a way to send
> automatic daily personalized e-mails. I have been able to set up a php
> page on the site that automatically checks through the database and
> sends out the personalized e-mails, but the problem with this method
> is that in order to send the messages, I have to access the PHP page.
> I would rather the messages be sent out automatically, on a daily
> basis.
>
> My site is hosted on a Yahoo! server which I imagine may cause some
> problems, though I am not sure. Anyone have experience with automatic
> e-mail sending, initiated on the server perhaps by a third-party
> program or custom code?
>
> Thanks.

Read this for a laugh:

<http://thedailywtf.com/Articles/The-Batch-Process-Manager.aspx>

And then read up on Cron:

<http://www.google.com/search?q=cron>

And using PHP from the command line:

<http://www.php.net/manual/en/features.commandline.php>

You basically need to create a script that can be run from the command
line and then have Cron run it for you at some interval.
zeldorblat [ Mo, 07 April 2008 20:02 ] [ ID #1940483 ]

Re: Automatic Daily Personalized E-mails

To restore balance to the world Josh wrote in
26391f9c-15b8-42c3-968c-a4032db5fc81 [at] q24g2000prf.googlegroup s.com
>> I have a PHP website and am trying to figure out a way to send
>> automatic daily personalized e-mails. I have been able to set up a
>> php page on the site that automatically checks through the database
>> and sends out the personalized e-mails, but the problem with this
>> method is that in order to send the messages, I have to access the
>> PHP page. I would rather the messages be sent out automatically, on
>> a daily basis.
>>
>> My site is hosted on a Yahoo! server which I imagine may cause some
>> problems, though I am not sure. Anyone have experience with automatic
>> e-mail sending, initiated on the server perhaps by a third-party
>> program or custom code?
>>
>> Thanks.

You will need to set-up a cron to call your php script - but I don't know if
Yahoo lets you do this.Look for a host with cpanel it makes thing a lot
easyer.

Chris

--
Superb hosting & domain name deals http://dn-22.co.uk
The Handyman http://www.looker.me.uk
Joker7 [ Mo, 07 April 2008 21:36 ] [ ID #1940489 ]
PHP » comp.lang.php » Automatic Daily Personalized E-mails

Vorheriges Thema: Variable Variables
Nächstes Thema: asp.net to php