F
F
Fyodor2011-03-15 14:26:37
Email
Fyodor, 2011-03-15 14:26:37

How to smartly organize your own legal e-mail mailing system?

All the time I was tormented by the question of how to make a newsletter among subscribed users myself. And do it wisely.

But I don't know where to get knowledge on this topic.

The main question that worries me is how it is implemented on ordinary shared hosting, which have restrictions on sending letters at a time, per hour. For example, in the masterhost they told me - no more than 25 at a time, no more than 200 per hour. Is it necessary to build a queue through the database for mailing and in portions of 25 at a time no more than 4 times per hour send via cron? or maybe something else, maybe there are already scripts that will greatly facilitate the task. How is the success of the sending-delivery controlled, how to detect rejected mail servers.
Well, the main question is how not to run into blocking as spam mailings. Those. although it is assumed that a person signs himself with confirmation, however, nothing prevents him from clicking “this is spam”, as I understand it, none of the other “knockers” on the mailing list should be reflected.

It's good that the topic of layout of html newsletters on Habré was explained in detail =)

Answer the question

In order to leave comments, you need to log in

11 answer(s)
I
Iskander Giniyatullin, 2011-03-15
@rednaxi

And in order not to get into spam lists for nothing, do not forget about the List-Usubscribe header:
habrahabr.ru/blogs/google/101440/

D
Denis Ilinykh, 2011-03-15
@greyhard

To send out 300,000 emails per day with fresh offers to the client base, I did this:
I took a server with a large unlimited channel and a dedicated IP.
Registered a separate domain.
Added entries in TXT PRT where I specified trusted IPs for the domain and a reverse zone so that the server address would be issued by IP.
Replaced Sendmail with Exim as a mailer.
Then I start sending and look at the Exim logs.
I delete non-existing accounts from the database.
If everything is beautiful and correct for you (not spam), then the buttons to complain about spam will not work right away ... only if a lot of people really complain ... (but you don’t send to those who didn’t ask? then why should they complain).
You can also control the success of non-delivery delivery by the logs of the mail server in the same place and all the information on blocking rejection) and in the same place you will see messages from mail systems what to do if the letter is rejected as spam.

I
impass, 2011-03-15
@impass

The main question that worries is how it is implemented on regular shared hosting, which have restrictions on sending letters at a time, per hour

Rent a VDS or a dedicated server. Set up your own MTA and send out as many as you like as long as the recipients don't get banned. :)
how not to run into blocking as spam mailings

Adding some random text to letters saves you from especially stupid filters so that they are not completely identical. But in general, there is no guarantee that your mailing sent to 100 users with mailboxes on the same service will not be regarded as spam.
Ideally, of course, your domain and MTA on a separate server is closer to the body + fasten SPF and / or DomainKeys .

P
petrovi4, 2011-03-15
@petrovi4

For our service (although these are not mailing lists, but notifications for specific events), I use mail accounts registered in the Google App.
Here you need to remember that Google allows you to send up to 500 letters from one email per day (this is in the free version), which I bypassed by registering logins [email protected], [email protected], [email protected], etc. and iterate over in case of an error.

I
Iskander Giniyatullin, 2011-03-15
@rednaxi

we have a self-written tool that, yes, creates a queue and sends a cron along this queue.
True, this was done not to bypass restrictions on sending letters, but to reduce the load on the server.
Instead of being hosted on shared hosting with their limitations and the inability to install anything, it’s better to take yourself a VPS or some kind of cloud hosting like scalaxy, clouds come out quite inexpensively and at the same time conveniently.
If you don’t want to write a self-written solution, there are many ready-made ones, both SAAS and in the form of scripts
habrahabr.ru/qa/2965/

V
videns, 2011-03-15
@videns

The same masterhost has a mailing list service. Ask technical support, they will be able to explain everything in detail or enable the necessary settings.
If you do it by krone, then the address must be stored in the database and, with each call, select the next pack to send. At the same time, it is better to send via smtp authorization, and not just with the mail function, otherwise it will be difficult to track the fate of the letter (some headers are changed to protect against spammers)

E
EvgeniyKirov, 2011-03-15
@EvgeniyKirov

To send as a backend, you can use something like
aws.amazon.com/ses/
sendgrid.com/
mailgun.org/
There is also mailchimp.com/ , it has its own feature frontend and up to 2000 subscribers on a free account.

U
UniAdmin, 2011-03-16
@UniAdmin

Why not turn to professionals, that is, mailing services that take care of all the headaches of blocking, setting up any signatures, list-subscribes, and so on? I assure you, paying some relatively small money is much more profitable than allegedly saving every month and sending everything yourself (in practice, it will be more expensive, consider the cost of time, hosting, updates).
An example of a Russian-language mailing service is www.unisender.com. There is an API with which you can make integration with any web project.

V
vladpl2000, 2015-10-11
@vladpl2000

One of the best e-mail distribution agencies is standartsend.ru. No one here asks you where you got the information. Also, this service is very fast and unpretentious.

V
VkBox, 2016-08-22
@VkBox

I recommend it because I have been using it myself for several months, the result pleases - i-sender.ru Here, no one asks you where you got the base, and other information, you have registered, paid the tariff and send as much as you like!

D
Dmitry Prosto, 2017-06-14
@Prostoe

On hosting, using its internal mail service, it is almost impossible to solve the problem of mass sending today. Stick to limits.
You can install some script (mailing program) on your hosting, but it must work with a remote external smtp server. That is, in any case, the mailing should be sent to an external mail server - the formation of letters, storage, management of the subscriber base, the transfer of letters to an external mail server is performed by a script, and the delivery of letters accepted for sending is already an external, full-fledged mail server. So you will not be limited by either the hosting capabilities or the limitations of the mail server (it is yours). The only limitation is the power of the mail server, and your experience with the mailing list.
You can set up the mail server yourself (be sure to do it right), or use the service of a specialist or rent a ready-made mail server .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question