Displaying 1 result from an estimated 1 matches for "divorse".
Did you mean:
diverse
2008 Oct 22
1
Sending thousands of email with ar_mailer
Hi,
to send an email with ar_mailer I need to generate it and save it to
the db, right?
Currently the code looks very simple:
Newsletter.recepients.each do |recepient|
NewsletterMailer.deliver_dedicated(request, recepient, newsletter)
end
But for i.e. 30000 receivers it''s going to take a long while anyway.
Should I create them somehow in the background using BackgrounDRb or
something