app/mailers/user_mailer.rb
# Time in seconds to intentionally delay activation message
# as a way to counter spammers.
Time in seconds to intentionally delay activation message
as a way to counter spammers.
Time in seconds to intentionally delay activation message as a way to counter spammers .
def account_activation(user)
    @user = user
    headers['X-SMTPAPI'] = delay_send_header(NORMAL_X_SMTPAPI_JSON)
    I18n.with_locale(user.preferred_locale.to_sym) do
      mail(
        to: user.email,
        subject: t('user_mailer.account_activation.subject').strip
      )
    end
  end
def account_activation ( user ) @user = user headers [ 'X-SMTPAPI' ] = delay_send_header ( NORMAL_X_SMTPAPI_JSON ) I18n . with_locale ( user . preferred_locale . to_sym ) do mail ( to : user . email , subject : t ( 'user_mailer.account_activation.subject' ) . strip ) end end
Time in seconds to intentionally delay activation message
as a way to counter spammers.
Time in seconds to intentionally delay activation message as a way to counter spammers .
# DO NOT CALL set_standard_headers. Instead, # modify header to delay email transmission
user
<not_specific>