dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Automatically Send Emails Daily

  1. #1
    Join Date
    Nov 2007
    Posts
    362

    Automatically Send Emails Daily

    Hi, using PHP how do I program a script, so emails are sent to a list of users on a daily basis?

  2. #2
    Join Date
    Nov 2007
    Location
    Ohio
    Posts
    308
    You could setup a cron job to run daily.

  3. #3
    Join Date
    Apr 2007
    Posts
    1,664
    Using only PHP you can't, something has to trigger the script like as suggested a cronjob on Apache or you can use a browser if you're sure you'll have at least one visitor a day. The first visitor trips the send script then set a flag in a file or table that stops the second user sending the mail. The flag is checked every time.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles