Sending letters to users of the site


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
I want to write a script to automatically email users of the site. Tell me, how can this best be done?
I know that for this reason, it is impossible in one letter to send to all at once. What, then, send each user the email separately, i.e. to call a PHP function mail for each user?
by | 5 views

4 Answers

0 like 0 dislike
Yes, it is advisable to send a separate message to each user. Also it is better to smear sent in time. Usually create a send queue(e.g. in a database) and eventually devastate it, sending letters. There are also ready-made solutions like phplist. And, you can use external services, mailings, for example WebAsyst.
PS neither phplist nor WebAsyst I personally have not used, so feedback on their work can not give. Personally, I always implement this functionality via a queue in the database.
by
0 like 0 dislike
IMHO the issue should be solved at the MTA level.
by
0 like 0 dislike
BCC. There are nuances, but I think that will be enough.
by
0 like 0 dislike
Try Postmark. Use, no complaints.
by

Related questions

0 like 0 dislike
3 answers
asked Mar 25, 2019 by TrueDrago
0 like 0 dislike
2 answers
0 like 0 dislike
7 answers
asked Mar 20, 2019 by reffy
110,608 questions
257,186 answers
0 comments
27,842 users