All the Email Marketing features you really need

MailerLite delivers only the best Email Marketing features. You can easily create great looking email newsletters, manage subscribers, track your results and much more

Our goal is to help your Small Business’ marketing achieve the best possible results for the most affordable price. Why not compare our Email Marketing features and prices with others? We’re proud to offer the best features for less money! Click Here

 

Want Informations? Click Here

 

 

 


How can I send thousands of emails without limits in php?

How can I send thousands of emails without limits in php?

3

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.

  •  
    If the mail content it's the same for all , try to send to you the email and put people into BCC – Fky Sep 9 '15 at 9:08
  •  
    If you need send more than 2000 emails a day you need a commercial solution like Mail Chimp or similar. If you have such a massive audience for your free service, you can probably get your users to pay for it via donations or similar. – this.lau_ Sep 9 '15 at 9:14
  •  
  •  
    No, you can't send unlimited emails using PHP or anything else -- all mail services have limits. Gmail is actually being pretty generous with 2000/day. There are a bunch of paid services you can use if you need more. Some of them are pretty cheap (pennies a day for thousands of emails), but you can't get it for free. If you're not sending that many every day, you could solve the problem by splitting the batch up across multiple days. – Simba Sep 9 '15 at 9:17
  • 1
    @YuriBlanc, per favore scrivivi in inglese, grazie -- @YuriBlanc, please write in english, thanks: meta.stackexchange.com/questions/118678/… ;) – Cliff Burton Sep 9 '15 at 9:18
  •  
  • 2
    You have a dedicated server so install your own mail server – user557846 Sep 9 '15 at 9:19

up vote 4 down vote accepted

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:

  • Set up strict SPF
  • Sign with DKIM
  • Configure DMARC
  • You can't use BCC for personalised messages
  • Don't send attachments
  • Keep messages small, link to bigger content
  • Make sure your mail server DNS records resolve both ways
  • Make sure you have good bounce handling (difficult in PHP)
  • Use VERP addressing (helps bounce handling)
  • Monitor your mail server queues
  • Deal with any unsubscribes, spam reports or blacklisting immediately
  • Always, always use double-opt-in for new subscriptions
  • Never use bought-in lists

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.