2019-03-26 15:32:20 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-09-28 14:34:37 +00:00
|
|
|
class InvitadxMailer < ApplicationMailer
|
|
|
|
def confirmation_required
|
|
|
|
@invitadx = params[:invitadx]
|
|
|
|
@site = params[:site]
|
2018-10-02 18:16:56 +00:00
|
|
|
mail from: "#{@site.config.dig('title')} <#{ENV.fetch('DEFAULT_FROM', 'sutty@kefir.red')}>", to: @invitadx.email, subject: t('.subject')
|
2018-09-28 14:34:37 +00:00
|
|
|
end
|
|
|
|
end
|