# Newsletter to 2 mil+ contacts

**URL:** <https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270>\
**Category:** Product Support\
**Created:** [February 23, 2021, 12:35pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270 "2021-02-23T12:35:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick-fm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick-fm/32/4538_2.png) [@nick-fm](https://forum.mautic.org/u/nick-fm)\
**Post date:** [February 23, 2021, 12:35pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/1 "2021-02-23T12:35:03Z")

</div>

Hello all,

I read a few topics and Github issues, but none seem to have provided an answer to our current problem/situation. I was hoping someone could provide us with some insight.

We have about 2 million contacts in Mautic, self-hosted. We successfully sent a few segment e-mails with smaller groups.

Now we’re about to send a newsletter to all our contacts, like this;

- Channels / Emails, we pick a segment that contains all the contacts (a lot) and the mail template is set up right. But then when we click ‘Send’, it asks for batches, and if say we choose a 1000 a time, one of us will have to keep the page open for a really long time for Mautic to queue all the e-mails? This feels wrong coming from Mailchimp.

We are using the Amazon SES API which has plenty of room for one newsletter a day limit-wise.

I tried upgrading the EC2 and the RDS where the DB resides, and it has no effect.  
EC2 load seems well below 50%, same with the current RDS setup. No disk wait etc.

We’ve also tried using the ‘Queue with Filesystem’ option, which apparently still gives the ‘sending in batches’ screen, which also takes a long while to fill up… while we kinda hoped everything would be running in the background by a cronjob with this option.

My Mautic version is: 3.2.5  
My PHP version is: 7.4.13  
My Database type and version is: MySQL 8.0.20

It’s to be expected that it would take a few hours to send out this many e-mails, which is no problem. But the main issue here is that it seems like someone needs to keep the “Sending X of X…” page open for a long time?

So is there another approach for a newsletter with this many contacts, or is something bottle-necking on our side? If someone needs more info, happy to provide.

Thanks!

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [February 23, 2021, 2:37pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/2 "2021-02-23T14:37:50Z")

</div>

Hello,  
Please read my article about this:

> [@Matching SES send rate](https://forum.mautic.org/t/matching-ses-send-rate/6783/4):
>
> I’m wondering if Mautic automatically matches SES send rate? Or I should follow OPs settings? I also have 14 emails / sec limit and would like to know if I should do something in mautic to match this

Regards:  
Joey

---

<div class="post-metadata">

**Author:** ![nick-fm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick-fm/32/4538_2.png) [@nick-fm](https://forum.mautic.org/u/nick-fm)\
**Post date:** [February 24, 2021, 1:55pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/3 "2021-02-24T13:55:27Z")

</div>

Hey, oh thanks so much! I didn’t come across that topic. It should be something for the documentation! 🙂

The **mautic:broadcasts:send** command really helps, that solved our biggest issue with queueing up the e-mails, so considering this. Our problem is solved… now we run into the problem that it’s taking too long to send out 2mil e-mails. But I’ll continue in your thread about that 🙂

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [February 24, 2021, 6:55pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/4 "2021-02-24T18:55:48Z")

</div>

I want to ask you how is your expeirnce with SES, I used regular shared hosting to send emails and my emails never arrive to gmail inbox. So my customers dont get my emails. If I uses SES will my emails be inboxed to gmail?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [February 25, 2021, 12:00pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/5 "2021-02-25T12:00:40Z")

</div>

Inboxing is a tricky thing. But you’ll have better chances of inboxing for sure. I had a video about this during the Mauticon: [MautiCon 2020 - József Keller - Be a Better Emailer - YouTube](https://www.youtube.com/watch?v=q7VO1Kf34IE)

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [February 25, 2021, 12:44pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/6 "2021-02-25T12:44:19Z")

</div>

do you think DKIM and PDIF really help? Or is just BS?  
My emails dissapear when I send them to gmail, they dont even get stuck is SPAM, what kind of service is GMAIL giving to people if the loose emails…so now I use gmail to send to gmail to inbox…disaster, like they do it on purpose

---

<div class="post-metadata">

**Author:** ![nick-fm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick-fm/32/4538_2.png) [@nick-fm](https://forum.mautic.org/u/nick-fm)\
**Post date:** [February 25, 2021, 4:28pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/7 "2021-02-25T16:28:03Z")

</div>

So far we’ve had a great experience with SES. We first moved off SendGrid with all of our transactional e-mail (welcome mail, reset password, order confirmations etc.), to slowly build up a good reputation at SES.

Now we also moved our newsletter and campaigns from Mailchimp to SES (with Mautic), and so far we still have an healthy reputation on SES. We also process unsubscribes/bounces automatically, to keep it that way.

Haven’t had any complaints from our users thus far 🙂

And regarding the DKIM, SPF records, not sure if they really help but I think it certainly wouldn’t hurt to have them set up properly…

Shared hosting is harder, since they tend to use either your account IP or a shared IP which may have been abused by others on the same hosting. With SES you can also choose to get a dedicated IP to protect your reputation, or just the ones from Amazon which Amazon tends to keep ‘healthy’ themselves. We opted for the latter, since we send out a lot of e-mail and if it’s coming from a “new ip” mail providers tend to see it as spam. Just our experience with e-mail over the past years, feel free to correct me anywhere.

We’ve sent about 3.1 million mails over the past 3 months through SES, not one complaint about the delivery from our users (and they tend to complain fast 😉 )

---

<div class="post-metadata">

**Author:** ![dimitri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dimitri/32/4437_2.png) [@dimitri](https://forum.mautic.org/u/dimitri)\
**Post date:** [February 27, 2021, 1:39am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/8 "2021-02-27T01:39:25Z")

</div>

Amazon SES works fine. I also use it and never had problems.

If you care about email deliverability you must configure DMARC, DKIM and SPF records.

You shouldn’t be angry at Gmail. If you send emails without caring for the basics than your emails deserve to disappear 😉

---

<div class="post-metadata">

**Author:** ![dimitri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dimitri/32/4437_2.png) [@dimitri](https://forum.mautic.org/u/dimitri)\
**Post date:** [February 27, 2021, 1:42am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/9 "2021-02-27T01:42:47Z")

</div>

> [@nick-fm](#):
>
> and so far we still have an healthy reputation on SES

I love Amazon SES. We are sending about 50k outreach emails (aka SPAM) a day and we still have a good reputation…

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [February 27, 2021, 1:54am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/10 "2021-02-27T01:54:27Z")

</div>

I have setup SPF and DKIM on my domain and still the email dissapears!!! Is not even in spam!  
Can I send you email so you can check it out?

Also that video that is posted above, the person in the video claims that your domain can be ruined and useless and all I did is send newsletter to double optin subs…real subs, no spam…

---

<div class="post-metadata">

**Author:** ![dimitri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dimitri/32/4437_2.png) [@dimitri](https://forum.mautic.org/u/dimitri)\
**Post date:** [February 27, 2021, 2:23am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/11 "2021-02-27T02:23:13Z")

</div>

Did you also configure DMARC?

Regardless of things like DMARC, SPF and DKIM records… Email usually does never just disappear. Never.

If your sending server sucks and has a bad reputation it can happen that the smtp server that has to receive your email refuses the email, it will bounce, and you will get a notice about that on the email address in the From or Reply-to header. But it will not disappear without getting a notice.

If your domain has a very bad reputation, or there is something very wrong with the content of your email the email can go to SPAM. But it will not disappear.

Does only email to gmail disappear? Or also to other email addresses?

You can send me a PM here…

.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [February 27, 2021, 2:35am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/12 "2021-02-27T02:35:46Z")

</div>

dmarc is missing, my host does not know how to set it up  
it does, I never got a bounce-back email I send to my own Gmail accounts, it is not in spam, or junk and does not get inboxed…  
it arrives on other emails besides Gmail, so it is sent out.

---

<div class="post-metadata">

**Author:** ![dimitri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dimitri/32/4437_2.png) [@dimitri](https://forum.mautic.org/u/dimitri)\
**Post date:** [February 27, 2021, 2:39am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/13 "2021-02-27T02:39:49Z")

</div>

If you send an email to [6127712wegdwed@hwebwhedwe.com](mailto:6127712wegdwed@hwebwhedwe.com) do you get a bounce email saying that the email address does not exist?

DMARC is very easy to setup yourself. And you can add it to the DNS also yourself.

---

<div class="post-metadata">

**Author:** ![rotorfido](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rotorfido/32/580_2.png) [@rotorfido](https://forum.mautic.org/u/rotorfido)\
**Post date:** [March 7, 2021, 7:17pm UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/14 "2021-03-07T19:17:01Z")

</div>

> [@nick-fm](#):
>
> EC2 and the RDS where the DB resides, and it has no effect.  
> EC2 load seems well below 50%, sa

where do you host mautic? On aws?

---

<div class="post-metadata">

**Author:** ![nick-fm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nick-fm/32/4538_2.png) [@nick-fm](https://forum.mautic.org/u/nick-fm)\
**Post date:** [March 8, 2021, 9:42am UTC](https://forum.mautic.org/t/newsletter-to-2-mil-contacts/18270/15 "2021-03-08T09:42:15Z")

</div>

Yes AWS, we have Mautic running AWS;

- One m6g.xlarge currently for the front-end/cron-jobs. But I think we can downgrade that instance, since it’s not using that much… even when we send out a newsletter to 2 mil+ contacts.

- One RDS for the DB, that is currently db.r6g.2xlarge (64 GB ram), since we saw a lot of disk activity so we were afraid there wasn’t enough RAM for the DB.

We’re still looking into increasing performance there, since browsing segments and sent e-mails is slow sometimes and building segments also takes some time. But it all seems to be mostly the DB. We’re also gonna look into Amazon Aurora, for hopefully some increase in performance on the front-end as well. Also hoping some upcoming PR’s/releases will increase some query performances 🙂
