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