Open-Source-Access-Control-.../app/mailers/door_mailer.rb

13 lines
265 B
Ruby
Raw Normal View History

class DoorMailer < ActionMailer::Base
default :from => "no-reply@heatsynclabs.org"
def alert(status)
@url = "http://members.heatsynclabs.org"
@status = status
2014-09-05 02:40:00 +00:00
mail(:to => 'heatsynclabs@googlegroups.com',
:subject => "HSL Doors")
end
end