PDA

View Full Version : Is It possible with PHP ?


vipul
04-07-2005, 12:37 AM
Hi all,,

now i've to make 1 website whch sends mail as scheduled jobs like the birthday reminder websites do..

so pls help me if u've ne idea

thanks

alib_i
04-07-2005, 06:28 PM
you'll have to work real hard for that
http://sg2.php.net/manual/en/function.mb-send-mail.php

-----
alibi

igeek
07-07-2005, 01:34 AM
yes, you can send mails at fixed times or at regular intervals, without executing the scripts yourself. This feature is not related to PHP. You'd need to set up a Cron Job if your server is Unix/Linux or you'll have to set up a Scheduled Task if you are on Windows.

For more info, look at this Google search (http://www.google.co.in/search?hl=en&q=setting+up+a+cron+job&meta=).

vipul
08-07-2005, 12:13 AM
thans for your reply now i m searchin the related links..
and i found something gud with cron jobs

any way thanks ..

igeek
08-07-2005, 03:34 AM
thans for your reply now i m searchin the related links..
and i found something gud with cron jobs

any way thanks ..

Setting up a cron job is no brainer, its quite easy, even if you are doing it for the first time. If you have cPanel or DirectAdmin, they give the option of setting up cron with a GUI for a beginner as well for pro. You can choose the beginner GUI.

Here's a Flash tutorial for Plesk7 Reloaded
http://www.demodemo.com/1/tutorials/plesk7rl_eu_crontab.htm Just ignore the first two screens, the 3rd screen with the fields for the cron is what you must see, its same on all control panels.