Sha256: b214eca56a87e297711caf5ab38ad2cfde38923e3426ab1ca313b2fa7b103280

Contents?: true

Size: 294 Bytes

Versions: 32

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module WCC::Contentful::App
  class ContactMailer < ::ApplicationMailer
    def contact_form_email(to_email, data)
      @form_data = data

      mail(from: @form_data[:Email], to: to_email, subject: "#{@form_data[:internal_title]} Submission")
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
wcc-contentful-app-1.0.8 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.7 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.6 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.5 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.4 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.3 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.1 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.0 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.0.pre.rc3 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.0.pre.rc2 app/mailers/wcc/contentful/app/contact_mailer.rb
wcc-contentful-app-1.0.0.pre.rc1 app/mailers/wcc/contentful/app/contact_mailer.rb