Sha256: f9e7010a67cf6cac3790e1ca1f0b517c2b321ba22938d27a752efc75cd823f0f

Contents?: true

Size: 441 Bytes

Versions: 49

Compression:

Stored size: 441 Bytes

Contents

module Wbase
  class PasswordResetMailer < ApplicationMailer
    def reset(user)
      headers "X-SMTPAPI" => {
        unique_args: {
          user_id: user.id,
          mail_eventable_id: user.id,
          mail_eventable_type: 'User'
        }
      }.to_json

      @user = user
      mail(
        to: user.email,
        bcc: [Wbase.firehose_email],
        subject: "[#{ Wbase.site_name }] Password Reset"
      )
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
wbase-0.3.20 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.19 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.18 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.17 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.16 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.15 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.14 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.13 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.12 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.11 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.10 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.9 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.8 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.7 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.6 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.5 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.4 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.3 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.2 app/mailers/wbase/password_reset_mailer.rb
wbase-0.3.1 app/mailers/wbase/password_reset_mailer.rb