Web Design Forum: How do I send out daily emails from my web site? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How do I send out daily emails from my web site? Rate Topic: -----

#1 User is offline   gigman7 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 31-August 11
  • Reputation: 0

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?

This post has been edited by gigman7: 27 January 2012 - 02:18 PM

0

#2 User is offline   FizixRichard 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 325
  • Joined: 05-October 07
  • Reputation: 47
  • Gender:Male
  • Location:Market Deeping, England
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 27 January 2012 - 04:05 PM

Setup a Cronjob or Scheduled Task to run your emailer script daily.
0

#3 User is offline   webbhost 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 12-May 08
  • Reputation: 0
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

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
0

#4 User is offline   gigman7 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 31-August 11
  • Reputation: 0

Posted 06 February 2012 - 08:25 PM

View Postwebbhost, 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

Thanks. I got it. It's not sending out the same email because it is marking it sent in the database.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users