Orbit/app/mailer/cron_mail.rb

8 lines
261 B
Ruby
Raw Normal View History

2012-04-13 04:10:47 +00:00
class CronMail < ActionMailer::Base
default :from => "orbit_test@rulingcom.com"
def time_check(msg)
#attachments["rails.png"] = File.read("#{Rails.root}/public/images/rails.png")
mail(:to => "Matt <matt@rulingcom.com>", :subject => msg)
end
end