2013-02-01 11:44:05 +00:00
|
|
|
class UserMailer < ActionMailer::Base
|
|
|
|
default :from => "wiki@heatsynclabs.org"
|
|
|
|
|
|
|
|
def new_user_email(user)
|
|
|
|
@user = user
|
|
|
|
@url = "http://members.heatsynclabs.org"
|
|
|
|
|
2013-02-01 12:03:18 +00:00
|
|
|
#@admins = User.where(:name => "Will Bradley")
|
|
|
|
#@admins.each do |admin|
|
|
|
|
mail(:to => 'info@heatsynclabs.org', :subject => "New HSL Member: "+user.name)
|
|
|
|
#end
|
2013-02-01 11:44:05 +00:00
|
|
|
end
|
|
|
|
end
|