Answer the question
In order to leave comments, you need to log in
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
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.
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.
It seems evil in NOT using the wonderful SMTP functionality.
I'm going to try with SMTP enabled.
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question