I''m currently doing this something like this:
I have a "quemanager" (actually just a simple XML-RPC server) that I
load with a specific actionmailer class. I then prepare a "job" from
withing the user interface and send the job id to the quemanager. The
quemanager fetches 100 records (email adresses) at a time from the
database and sends them out with the actionmailer.
It works quite nice at the moment. I even can see "progress" (with
Ajax)
on the user interface.
Flurin
Ryan Jones wrote:
>What is the advised way to send bulk mail (as in an opt-in newsletter)
>in Ruby? Should I simply use the Net::SMTP class and loop through list
>of recipients? Or is there a better way?
>
>Thank you
>
>_______________________________________________
>Rails mailing list
>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
>
>