Forum: Ruby on Rails Mailing lists in rails?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
328f0bb678423fcea01ebe3b0edc74e6?d=identicon&s=25 Ben Johnson (benjohnson)
on 2007-03-03 19:16
I have a client that wants to send out a mass email to all of the
registered users. I figured I would use ActionMailer for this, but is
this suitable for mass emailing? Or is there another solution or a
better way to do this?

Thanks for your help.
F01c3ff32fee35d911e81c172a005012?d=identicon&s=25 Tom Fakes (Guest)
on 2007-03-03 23:16
(Received via mailing list)
It is possible, but slow.  For every mail, ActiveMailer re-establishes
the connection to the SMTP server (and this sometimes fails under

I made some changes to the ActiveMailer code to open a connection and
then send the email, passing in the connection.  I don't have that
code anymore, but it wasn't hard to write once I knew what I needed to

20-30K messages is about where I'd start thinking about doing
something different.  Below that, you should be Ok with ActiveMailer.

The main problem I had was not Rails related, but Spam related.  I had
so many bounces due to various conditions - old email addresses, spam
filters etc.  You will get into trouble if you do this a lot and don't
process the bounce messages to disable email accounts for future

Bounce messages come in many forms - one email server actually has
some comments from the programmer essentially saying: "The standard
for bounce messages is too complex, so I'll invent my own format
that's easier".  You have to handle this format as well as the
standard formats, so it turns out to only be easier for that
programmer.  Can you tell I'm still grumpy?

On Mar 3, 10:16 am, Ben Johnson <>
This topic is locked and can not be replied to.