Hello,
I need to make an php based automated mail system for my project. It should allow the user to schedule mails to be sent in the future.So my line of thinking is this.
A php based webpage could be created with the mail form (to,subj,body etc)
when sent, these details would get entered in the server's database.
Now on the server, there can be an php script which periodically checks the databse to see if there is any pending mail and accordingly dispatch it using php.
Is my thinking correct or could you suggest better methods of implementation.
thanks,
Tejas
Automated Mail System
Moderator: General Moderators
Re: Automated Mail System
Hi,
For this you have to set CRON jobs (LINUX/UNIX) or Schedule tasks on Windows to run PHP script to send emails on scheduled time frame.
I think this will help. If you want more info then feel free to reply here.
For this you have to set CRON jobs (LINUX/UNIX) or Schedule tasks on Windows to run PHP script to send emails on scheduled time frame.
I think this will help. If you want more info then feel free to reply here.
Re: Automated Mail System
Cronjobs all the way.
I don't know how the heck people live without them. I use them for everything!
I don't know how the heck people live without them. I use them for everything!
-
mrjameswong
- Forum Newbie
- Posts: 6
- Joined: Thu Aug 13, 2009 10:14 pm
Re: Automated Mail System
This is great stuff. thanks
-James
-James