Why would you want to send emails every hour from your server? Most servers only allow you to send out 250 emails every hour and some servers only allow you to send out 500 emails a day.
Let’s say that you have 5000 subscribers to your blog and you are not using 3rd party applications. In order to send emails to all these people you would have to send them every hour. You would have to do this in increments so that you do not use all your email relays per hour or per day.
What You Will Need For This PHP Mailing Application Tutorial
- A WAMP or XAMP server on your local machine
- Download and extract files below to follow video tutorial.
Warning: this is not a complete script yet. This is only a guide to help you program it.
Code for Cron Job
[code]/usr/bin/php -q /home/cpanelusername/public_html/sendnewsletter.php[/code]