S
S
Semyon Semyonov2017-05-13 16:47:10
Ruby on Rails
Semyon Semyonov, 2017-05-13 16:47:10

By what means is mailing to users (notifications) done?

On the forum, Vasya replied to Petya's comment. Petya and everyone who subscribed to the post - you need to send a notification. I don't understand how to organize it. If you solve the problem head-on, it turns out that the mailer needs to call send_notification and send a letter. But damn it, then it turns out that a hundred or two letters will go through the mailer and, theoretically, it can be regarded as spam (I don’t know, I just assume, I use Yandex mail for the domain).
It seems to me that there should be services where you send a list of mailboxes and a letter or something like that, and they already send it out. Or, as an option, some separate app that only sends out. Or how? Maybe there is some kind of pattern or an article or just best practices?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2017-05-13
@man_without_face

Sending emails in RoR is done using ActionMailer ( manual in English ).
Services like Mailgun, SendGrid , etc. allow you to do mass mailings.
On the websites of these services, you can read about the best practices in the mailing list.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question