Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 22nd, 2005, 04:55 PM
zek2005
Guest
 
Posts: n/a
Default send email with schedule

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
Default 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
Default 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.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles