Reputation: 114
I have a website that every morning sends a newsletter.
But it's not a regular newsletter, every email has different content depending on the user account.
Now I use a class called PHPMailer and it work pretty well, it does what I need. But to do that, i authenticate with a Gmail account. Problem is, Gmail, just like any other email service, has its send-daily-limits.
In facts, it just sends the first 2000 emails.
How can I overcome this problem? My service is free and I don't have money to pay any extra service, I only have my (dedicated) server.
(ubuntu 12.04, lamp stack)
Thanks in advance, and sorry for my awful english.
Upvotes: 4
Views: 5703
Reputation: 37818
If you run your own server and send legitimate emails, there is no practical limit to how many emails you can send. You're not paying per-message fees, and almost all spam filtering is now done by what the users do with their messages - so if they act like you're sending stuff they want (i.e. they read it and don't mark it as spam), you will have no deliverabilty issues.
There's nothing to say that a server sending high volumes of email will necessarily get blacklisted, though it is often regarded as suspicious if a new server suddenly starts sending lots of messages, so it's a good idea to ramp it up slowly, and/or spread your sending across multiple IPs.
I have self-built sites that send high volumes using PHPMailer - sometimes millions per day each - but you may have trouble configuring an off-the-shelf server to do that. PHP is quite capable of sending several hundred messages per second, mostly depending on your templating system.
You do have to be completely paranoid about your config though:
All this stuff is essentially what you're paying for when you use an ESP, and though they will often try to tell you otherwise, there's nothing stopping you from doing it all yourself - as the saying goes, it's free so long as your time has no value!
As others have mentioned, RSS or notifications may allow you to reduce the amount you need to send via email.
Upvotes: 8
Reputation: 6548
Configure your server as a mail server so you can send as many mails as you need, without relying on external servers.
Upvotes: 0
Reputation: 645
You can create a script that limits the amount of email sent in a given period of time. For example 20 emails each minute are equals to 1200 email sent in an hour and stay below your service limits. (most shared server also limits email per hour). In this case the "script" should run with a browser page kept open since it send new request at a given time. (look for example at acymailing extension for Joomla Cms)
Another option is cronjobs. How to send emails via cron job usng PHP mysql
Upvotes: 0