A
A
Anton2010-10-15 16:15:06
PHP
Anton, 2010-10-15 16:15:06

Tell me how to send a newsletter in PHP

There is a list of subscribers for whom a letter is generated and sent.
What would you recommend to use to send to a large number of subscribers?
phpmailer.worxware.com/ - not suitable because sends a letter very slowly and loads the server.

There are pictures in the letter, they must also be sent.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
DevMan, 2010-10-15
@conturov

There are many solutions for sending - from the actual mail () and ending with classes for working with SMTP servers (for example, PHPMailer).
Sending pictures to everyone is too bold. It is better to place them on the site, and only link in the message.

Y
yourmary, 2010-10-15
@yourmary

We use swiftmailer with smtp transport. We don't complain.
Based on my modest experience, it is important: to form a queue and send it out gradually; use an existing box; write correct titles.

A
Anton, 2010-10-15
@conturov

It seems evil in NOT using the wonderful SMTP functionality.
I'm going to try with SMTP enabled.

I
Iskander Giniyatullin, 2010-10-15
@rednaxi

We use our own wrapper for mail (), on the server side, as a mailer, is Exim.
A queue of subscribers is built, and letters are sent in batches, about 100 letters per minute, by krone until everyone leaves. In principle, it is quite simple to implement such a system on php.
It has been noticed that the server is more loaded not by sending messages itself, but by the incoming stream of response letters (subscribers are mostly various kinds of legal entities, and many have an autoresponder like “thank you, your letter has been received”, etc.) - this stream of letters is processed by spamassasin and loads the server. To deal with these, they simply made sure that the mailbox from which the mail comes is not checked by spamassassin

V
vgrayster, 2010-10-17
@vgrayster

I also use swiftmailer + exim - I send out about 3000 notifications a day, no problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question