'Sending email form php (phpmailer) with looping on a mailing list

I'm using smtp phpmailer to send emails from my website to a mailing list of 500 to 2 000 emails. So cause on each mail body i have to insert a unique information for each email receiver I'm looping with php on this mailing list to insert this information before sending the mail, and this took time if it's about 1 000 emails or more.

So my question is if there is a better way to do ? and if the use of some paid solution like Sendgrid may fix it ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source