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

14 lines
357 B
Ruby
Raw Permalink Normal View History

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