Open-Source-Access-Control-.../app/mailers/user_mailer.rb
2013-02-01 05:03:18 -07:00

14 lines
357 B
Ruby

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