Displaying 1 result from an estimated 1 matches for "massmailingnew".
Did you mean:
massmailingnews
2009 Aug 20
7
bulk email solutions
i need to send massive emails to various customers,
here 2 solutions i have think:
1-
customers = Customer.find(:all, :conditions => "newsletter = 1")
customers.each do |c|
@email = c.email
Mailer.deliver_send_newsletter(@subject, @email, @notice_id)
end
2-
customers = Customer.find(:all, :conditions => "newsletter = 1")
customers.each do |c|
addresses <<