Connecting Tech Pros Worldwide Help | Site Map

send email with schedule

  #1  
Old December 22nd, 2005, 04:55 PM
zek2005
Guest
 
Posts: n/a
Hi Friends!!!

I want to create an option to the user to suscribe to a service that
sends an automatic mails everyday with information taken from a
database created in MySQL.

I have the form and the access with PHP to the database and I can send
an automatic mail at the moment that the users press a button to
activate the action, but I do not know how to do it everyday (or the
period of time chosen by the user).

Any help will be appreciatte.

Best regards,

Zek!

  #2  
Old December 22nd, 2005, 06:55 PM
kevincw01
Guest
 
Posts: n/a

re: send email with schedule


You will want to do this in a cron job and using command line php.
i.e. "php -q mailit.php > /dev/null". You'll want to google on how to
modify cron jobs if you're not familiar with cron. It basically allows
you to schedule events based on time and date. It is well suited for
daily tasks like this one.

  #3  
Old December 22nd, 2005, 09:45 PM
John Meyer
Guest
 
Posts: n/a

re: send email with schedule


zek2005 wrote:
[color=blue]
> Hi Friends!!!
>
> I want to create an option to the user to suscribe to a service that
> sends an automatic mails everyday with information taken from a
> database created in MySQL.
>
> I have the form and the access with PHP to the database and I can send
> an automatic mail at the moment that the users press a button to
> activate the action, but I do not know how to do it everyday (or the
> period of time chosen by the user).
>
> Any help will be appreciatte.
>
> Best regards,
>
> Zek![/color]


You can do this with either PHP or perl, scheduling the job ahead of time.
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot add ics file attachment to email Erik Witkop answers 2 October 23rd, 2008 09:45 PM
HELP WITH AUTO EXE PROGRAMMING/CODE Liam.M@awamarine.com.au answers 17 June 24th, 2006 08:15 AM
Problem with scheduled emails with console app savvy answers 1 November 19th, 2005 11:26 PM
Help to send mails with delay in asp.net c#. Max answers 10 November 19th, 2005 02:26 AM