diff options
author | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicoo@ffgraz.net> | 2016-08-07 16:39:42 +0200 |
commit | b6ca062670b342344df08b53fb216db619ef42bc (patch) | |
tree | 7680ac6b407239f6b7272c937e42f688b8de542c /app/models/password_mailer.rb |
Import legacy manman source
Copied from www.ffgraz.net
Diffstat (limited to 'app/models/password_mailer.rb')
-rw-r--r-- | app/models/password_mailer.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/password_mailer.rb b/app/models/password_mailer.rb new file mode 100644 index 0000000..bf2fe82 --- /dev/null +++ b/app/models/password_mailer.rb @@ -0,0 +1,12 @@ +class PasswordMailer < ActionMailer::Base + + def password(person, password, sent_at = Time.now) + @subject = 'New Password' + @body = { :person => person, :password => password } + @recipients = person.email + @from = 'noreply@graz.funkfeuer.at' + @sent_on = sent_at + @headers = {} + end + +end |