How do I use PHP to mass email 25000 people a month?
All are clients, so no spam. using Mail() opens a socket connection for each time through the loop, so that's not fast. Thought about using PEAR's Mail package. - Anyone use that before? Also, how do i stay off of spam lists?? There will be an unsubscribe feature and all emails will be to customers, so as not to be spam.
Comments
I will write a simple example.
<?php
for($x = 0; $x<=25000; $x++)
{
// Do your mailing
}
?>
You are right that this is not the best option. Because you will almost 100% be sure to be marked as spam. If you really have that many customers you need a third party system that will not kill your own server. I suggest http://www.constantcontact.com./ They are really great! We use them all the time.
Take care,
Chad
I wouldn't recommend doing this with a mailing list this size, as the load on your server will be pretty heavy.
I would recommend finding a third party email provider to use their server. There are a lot of policies and legal requirements for emailing to not be considered spam by Email service providers...so this is your best bet to stay whitelisted anyway.
The biggest emailer out there is DaTran Media
datranmedia.com
It shouldn't cost you too much to get your emails going with such a small list (compared to their other partners who are emailing a couple million a day)
Good luck!
Another option of a third party mailer would also be JangoMail. It's up to you but if your e-mails are pertinent, definitely use a third party mass mailing system.