Page 1 of 1
Timed Mails?
Posted: Mon Mar 22, 2004 9:03 am
by kleptomania
need to wite a pages that do the following.
1) user enters several email addresses and also specifys several times throughout the day say 10am, 12pm, 2pm, 4pm
2) The site then emails these addresses with a link and they fill out a form, answering a few questions, the DB needs to retain this info
3)The site then needs to email all these addresses at pre determined times set by the user at step one.
Anyone seen/got/used any code that I could modify/use?
Posted: Mon Mar 22, 2004 9:27 am
by patrikG
You'll need to set up a cron-job that calls the PHP script which sends the mails. To do this you'll need to either
1) use a the control panel to set up the cron-job (e.g.
http://domainname-registration.org.uk/w ... onJobs.htm)
2) or place a file in the respective directory (see
http://www.die.net/doc/linux/man/man1/crontab.1.html)
Example: to run a PHP script called "my_PHP_cron_script.php" every hour the cron-file would read
0 */1 * * * php my_PHP_cron_script.php -f
Posted: Mon Mar 22, 2004 9:45 am
by kleptomania
OK, whos got a nochex or paypal account and wants to earn £30 for wirting me a few scripts. I can send a m ore detailed spec on what it needs to do but shouldnt be that complicated.
PM me please
Posted: Mon Mar 22, 2004 10:24 am
by JayBird
kleptomania wrote:...earn £30 for wirting me a few scripts.
You can have 1 hour of my time for that price. Should get you about 1 quarter of a script.
Mark
Posted: Tue Mar 23, 2004 3:04 am
by kleptomania
Bech100 wrote:kleptomania wrote:...earn £30 for wirting me a few scripts.
You can have 1 hour of my time for that price. Should get you about 1 quarter of a script.
Mark
thanks for the offer but ill take up one of the many others ive had and split the profits with them.
Posted: Tue Mar 23, 2004 3:08 am
by patrikG
kleptomania wrote:Bech100 wrote:kleptomania wrote:...earn £30 for wirting me a few scripts.
You can have 1 hour of my time for that price. Should get you about 1 quarter of a script.
Mark
thanks for the offer but ill take up one of the many others ive had and split the profits with them.
I accept donations in form of a monthly supply of bounty-bars for suggesting cron-jobs. Don't email them to me, my spam-filter doesn't like them.
Posted: Tue Mar 23, 2004 3:59 am
by kleptomania
ok ill msn them accross, mini or fun size?
Posted: Tue Mar 23, 2004 4:05 am
by patrikG
Would I have to sign up with MSN? Ack

Why don't you just leave them in my PM-inbox here on this board. I am sure no-one would take them.
Oh, and I take the normal size, my inbox isn't too full atm, so there is plenty of space. No need for that mini stuff.
Posted: Tue Mar 23, 2004 4:12 am
by kleptomania
Posted: Tue Mar 23, 2004 4:18 am
by patrikG
Posted: Thu Mar 25, 2004 3:07 pm
by Steveo31
...wrong forum?
Re: Timed Mails?
Posted: Mon Mar 29, 2004 7:13 pm
by m3mn0n
kleptomania wrote:need to wite a pages that do the following.
1) user enters several email addresses and also specifys several times throughout the day say 10am, 12pm, 2pm, 4pm
2) The site then emails these addresses with a link and they fill out a form, answering a few questions, the DB needs to retain this info
3)The site then needs to email all these addresses at pre determined times set by the user at step one.
Anyone seen/got/used any code that I could modify/use?
This sounds like a Greeting Card site system to me.
Check out some open source card applications at hotscripts or something.