I have to send mail to multiple recipients. My table is named people
first_name,last_name, email1 , email2, email3 for each person. i have
put people in various mailinglist .For example first mailinglist where
first_name is john or say the second mailing list contains people of
the relation between mailinglist and people is many to many.
params[:ml] gives me the id of the mailing list to which mail is to be
In the controller i have
@mailinglists.each do |ml|
@people.each do |p|
Perhaps this works.