# File lib/autotest/email_notify.rb, line 32 def self.notify title, msg @@recipients.each do |to| body = ["From: autotest <#{@@from}>"] body << "To: <#{to}>" body << "Subject: #{title}" body << "\n" body << msg Net::SMTP.start(*@@smtp_settings) do |smtp| smtp.send_message body.join("\n"), @@from, to end end end