Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2005, 02:01 PM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default e-mail actions...

I have a system that has user interaction and expiration. I want to remind the users 7 days before the expiration of their account. I want to use a button called "Remind by mail" beside every users account and the button will send automatic mail having the structure from a predefined format. How can I accomplish this automated mailing system.
 
Old April 29th, 2005, 09:50 AM
Authorized User
 
Join Date: May 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ruhin Send a message via AIM to ruhin Send a message via MSN to ruhin Send a message via Yahoo to ruhin
Default

I got that out. I have used a filed in the db for every user - mail_sent. The no of mail sent is increased if the mail is sent successfully. I have used smtp_mail class for this purpose.
 
Old April 29th, 2005, 11:27 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 117
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi
If I remember right, you have to have cron job.
cron job is job that authomaticly run your script and I have no idea how to create it in windows or linux.
If somebody alse host your website, just ask them to create it for you, but if you host your own website just search on google to find tools or toturial to create cron job.
I hope this help you

 
Old May 3rd, 2005, 09:59 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

mani_he

To edit your crontabs under *nix type:
$ crontab -e

Type the following to read the manual page that describes the file format:
$ man 5 crontab

--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
 
Old May 4th, 2005, 10:52 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 117
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Thanks ciderpunx

Best Regards






Similar Threads
Thread Thread Starter Forum Replies Last Post
Focus on Actions Panel Stela Flash (all versions) 1 September 29th, 2007 11:45 PM
trigger actions b00gieman Beginning VB 6 1 September 25th, 2007 07:23 AM
Custom Install Actions and the GAC eadred General .NET 8 August 22nd, 2006 08:02 AM
User Actions ppenn Access VBA 1 May 18th, 2004 02:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.