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

14 lines
373 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 => 'member-notifications@heatsynclabs.org', :subject => "New HSL Member: "+user.name)
#end
end
end