Class: SignupConfirmationReminderMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/signup_confirmation_reminder_mailer.rb

Instance Method Summary collapse

Instance Method Details

#reminder_email(user) ⇒ Object

Send an email to remind a signed up user that he stil hasn't confirmed his email address.

Receives as arguments:

  • the user who has done the export


10
11
12
13
14
15
# File 'app/mailers/signup_confirmation_reminder_mailer.rb', line 10

def reminder_email(user)
  @user = user
  I18n.with_locale user.locale do
    mail to: @user.email
  end
end