I have this script but currently it only send email to one recipient. Someone knows how to send email to multiple recipients? Please help.
require 'ruport' require 'ruport/util' r = Ruport::Report.new r.add_mailer :default, :host => "mail.host.com", :address => "addr...@host.com" r.send_to("t...@host.com") do |mail| mail.subject = "Test Report" mail.attach "test_file.txt" mail.text = "This is an email with attached txt" end Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---