2
My database contains 20,000+ verified email-addresses. These are user's emails with permission (users set in options) to receive newsletters, updates, etc... from website. I actually never used their email addresses for any purpose but now I want users to get some updates from website periodically (once per month or two months). My wonder is more about how to send same email to 20K of users as fast as possible and what restrictions I might face doing this?
I have some ideas how to do this using Cron and PHP build-in mail() function but I can't send 20K emails at once (may I?). Also, I know that emails will most probably end up in junk/trash/spam folder at receiver's (that's fine) but not sure is there some law against sending mass-emails or restrictions (defined by hosting service).
What I need is answer how I can do it and what's best way to accomplish this task? This is not "give me solution" question, just need some tips because I've never sent more than 5 emails at once in my life and couldn't find answer to this question. Wonder how large services, such as Facebook, Twitter, Youtube inform their users (probably millions of them at once)?
Note: Sorry if this is not right place to ask this question, I had second thoughts about where to post it, here or at StackOverflow, but according to how my problem looks like (I don't provide or ask for code), guess it would be closed at SO as "not constructive" or even "off topic".
You can send 20 thousands emails at once using a quantum computer. – Piotr Kula – 2012-11-10T00:03:13.550
7If you don't know what you're doing, your best bet is to use a third party service. – Michael Hampton – 2012-11-10T00:07:53.520
@MichaelHampton, you're right, I actually have no idea! But must start learning at some point. Course, I'm not going to use my user's emails for experiments and 3rd party service is probably better solution than one I can make by myself. – Wh1T3h4Ck5 – 2012-11-10T00:14:35.390
2Users might have agreed to receive newsletters from you, but not that you share their email addresses with a third party. – Baarn – 2012-11-10T00:30:30.073
@Informaficker, course, they have checkbox in account-settings to agree/dissagree to receive emails from me (actually it's unchecked by default). I'm not going to send it to users w/ no permission. – Wh1T3h4Ck5 – 2012-11-10T00:32:50.080