1 class UserMailer < ActionMailer::Base
3 default_url_options[:host] = "0.0.0.0:3000"
5 def signup_notification(user)
7 @subject += 'Please activate your new account'
9 #"http://#{default_url_options[:host]}/users/activate/#{user.activation_code}"
10 @body[:url] = url_for :controller => 'users', :action => 'activate', :activation_code => user.activation_code
16 @subject += 'Your account has been activated!'
17 @body[:url] = user_url(user)
22 @recipients = "#{user.email}"
23 @from = "nobody@localhost.localdomain"
24 @subject = "[KWESTIE] "