For such an amount of emails, you should use an external API like for example mailjet or sendinblue.
Nov 12, 2022
4
Level 3
What's the best way to send 900K emails in Laravel?
Hi artisans, I'm planning to send 900K emails. I setup postal mail server to send email.
I need to pass dynamic data to the newsletter template. Example email:
"Hello NAME, You purchased TOTAL_ORDERS orders from us and earned POINTS."
NAME, TOTAL_ORDERS and POINTS are dynamic data.
In the mail sender job, I set http client to call postal mail server API to send the mail.
Using redis queue, horizon (supervisor) and postal can I send 900K emails? Or please share what's the best way to send 900K emails.
Thanks in advance.
Please or to participate in this conversation.