Email blasting from shared hosting
Sending large volume of emails from shared hosting is always a problem
Shared web hosting is not designed to allow 10,000 email sending at once. However, there is always a trick for this.
See the pros and cons before we doing it.
Sending large volume of emails from shared hosting is always a problem. Shared web hosting is not designed to allow 10,000 email sending at once. However, there is always a trick for this. See the pros and cons before we doing it.
First of all, email spamming is bad, and if you are sending unsolicited email or marketing letters to anyone on your mailing list. Consequences are that your hosting account will be suspended. Your domain name and IP address could be blacklisted as well.
As it’s a shared IP address, the hosting company will not want to take any risk and shut you down whenever they smell that your launching email broadcasting to the whole world.
Now you had realized the consequences that you will get yourself into. Now, what if you are running a forum of 10,000 members, and you would like to email inform them about forums upgrade etc. What should you do, how to email to them at once if your shared hosting only allows 50 or 100 email sending limit per hour??
First, check with your hosting provider, inform them you require to send out 10,000 emails from your website, and request them to give you the highest email sending limits. Let say now they set it to 500 emails per hour. And you will require to split your mailing list into 20 group and send them out each hour. That is a good beginning.
What if you are given only 100 or less email limit per hour. You will require to set up 100 groups. That is lots of work to do. Not to worry, some engineering work will solve this. First, insert all your email address into a mysql database. Create a PHP file that pulls out 100 emails and uses PHP mail() to send them out one after another.
By this, you have the script that fetches 100 emails at a time. Then from panel use the cross job to schedule this script to run every hour, by that you will have 100 outgoing emails per hour.
Your email will keep sending out each hour, and make sure you not sending repeating to the same recipient, they will go nuts receiving tons of email. After email sent, remove from MySQL database. It’s the safest thing to do.
Good luck with your email marketing effort, and this is the best solution you can have when using shared hosting.
November 25, 2017
November 26, 2017