This post has been edited by gigman7: 27 January 2012 - 02:18 PM
Page 1 of 1
How do I send out daily emails from my web site?
#1
Posted 27 January 2012 - 01:22 PM
I need to set up several php emails to go out each day for several weeks or maybe months. How do I get these emails to go out each day without going to and visiting my web site each day?
#2
Posted 27 January 2012 - 04:05 PM
Setup a Cronjob or Scheduled Task to run your emailer script daily.
#3
Posted 29 January 2012 - 10:43 PM
What FizixRichard said.. if you have cPanel with your hosting, it should make it pretty simple for you to set up... the downside is that if you use a cron job, you'll be sending the same e-mail every time the script is run, I cant see why you would need to do this several times a day? but that bits nothing to do with me I guess...
If you have cpanel:
Log in, go close to the bottom of the page under the "Advanced" tab and click "cron jobs"
set the time interval you want for running the script, then in command type:
php /home/[your username]/public_html/somefolder/emaileveryone.php
If you have cpanel:
Log in, go close to the bottom of the page under the "Advanced" tab and click "cron jobs"
set the time interval you want for running the script, then in command type:
php /home/[your username]/public_html/somefolder/emaileveryone.php
#4
Posted 06 February 2012 - 08:25 PM
webbhost, on 29 January 2012 - 10:43 PM, said:
What FizixRichard said.. if you have cPanel with your hosting, it should make it pretty simple for you to set up... the downside is that if you use a cron job, you'll be sending the same e-mail every time the script is run, I cant see why you would need to do this several times a day? but that bits nothing to do with me I guess...
If you have cpanel:
Log in, go close to the bottom of the page under the "Advanced" tab and click "cron jobs"
set the time interval you want for running the script, then in command type:
php /home/[your username]/public_html/somefolder/emaileveryone.php
If you have cpanel:
Log in, go close to the bottom of the page under the "Advanced" tab and click "cron jobs"
set the time interval you want for running the script, then in command type:
php /home/[your username]/public_html/somefolder/emaileveryone.php
Thanks. I got it. It's not sending out the same email because it is marking it sent in the database.
Share this topic:
Page 1 of 1
Help















