Sha256: ecc09adca66c0fadad807bf2ec32519a9c1bf6512587b4fafc598fa09db5ab8d
Contents?: true
Size: 454 Bytes
Versions: 8
Compression:
Stored size: 454 Bytes
Contents
class <%= class_name -%>Mailer < ActionMailer::Base def forgot_password(user, key) host = Hobo::Controller.request_host app_name = Hobo::Controller.app_name || host @subject = "#{app_name} -- forgotten password" @body = { :user => user, :key => key, :host => host, :app_name => app_name } @recipients = user.email_address @from = "no-reply@#{host}" @sent_on = Time.now @headers = {} end end
Version data entries
8 entries across 8 versions & 1 rubygems