Sending mail to a group of users

I am using acts_as_authenticated and I need to be able to send an email
to all the users in the users model with “t” in the “receive” column. I
worte the mailer and templates, and sending controller code, but I do
not know how to get the emails into the recipients area. I setup the
mailer to recieve recipients when the email is created. I am able to
get all the users to get the mail into a variable (or is it an array?)
called @admins. I do not know how to get the e-mails from those admins
and stick them into an array called @emails. What would be the best way
to do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs