B
B
bogus922011-01-25 19:15:09
PHP
bogus92, 2011-01-25 19:15:09

Sending emails to site users

I want to write a script to automatically send emails to site users. Can you tell me the best way to do this?
I know that for this reason it is impossible to send one letter to everyone at once. What then, send each user a letter separately, ie. call PHP's mail function for each user?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
Gesper, 2011-01-25
@Gesper

Yes, it is desirable to send a separate letter to each user. In addition, it is better to spread the sending in time. Usually they create a send queue somewhere (for example, in a database) and gradually empty it by sending letters. There are also ready-made solutions like phplist . You can also use external mailing list services, such as WebAsyst .
PS I personally did not use either phplist or WebAsyst, so I can not give feedback on their work. Personally, I have always implemented this functionality through a queue in the database.

V
VBart, 2011-01-25
@VBart

IMHO the question should be solved at the MTA level.

B
burdakovd, 2011-01-25
@burdakovd

BCC . There are nuances, but I think this will be enough.

O
ostapbender, 2011-01-27
@ostapbender

Try Postmark . We use it, no complaints.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question