Page 1 of 1

Automated emails sent from site - no user click

Posted: Thu Aug 20, 2009 2:38 am
by spock0149
Hey folks,

I run an auction type website and I'm trying to get an email sent out to a client on my website each day they have an outstanding bids.

They are already sent an email once another user bids on their item, but I want to send out an email at the end of each day whenever number bids>0.

Is this possible to send emails without some kind of user interaction??

Thanks in advance,

Spock

Re: Automated emails sent from site - no user click

Posted: Thu Aug 20, 2009 3:54 am
by robnet
You'll need to write the page then put it into a cron job (or scheduled task in Windows) to automate its running.

http://www.google.com/search?q=automate+php+scripts

Re: Automated emails sent from site - no user click

Posted: Thu Aug 20, 2009 4:08 am
by spock0149
robnet wrote:You'll need to write the page then put it into a cron job (or scheduled task in Windows) to automate its running.

http://www.google.com/search?q=automate+php+scripts
Thanks for the reply. I'll send this to my developer to look at.

Is this pretty easy for a good developer who hasn't done it before??

Re: Automated emails sent from site - no user click

Posted: Thu Aug 20, 2009 4:23 am
by lord_webby
Wouldn't say it was particularly easy as you can run into issues with permissions that can extend development time - but if all goes according to plan - you can probably set up your first script in about half a day.

After you've done one setting up the next turns into a matter of minutes.

Depending on your server/host setup you may need to use "crontab".

Re: Automated emails sent from site - no user click

Posted: Thu Aug 20, 2009 4:40 am
by spock0149
lord_webby wrote:Wouldn't say it was particularly easy as you can run into issues with permissions that can extend development time - but if all goes according to plan - you can probably set up your first script in about half a day.

After you've done one setting up the next turns into a matter of minutes.

Depending on your server/host setup you may need to use "crontab".
Brilliant. Thanks for the advice! Will definitely send this on to my developer.